diff --git a/docs/csharp/fundamentals/program-structure/snippets/file-based-program/hello-world.cs b/docs/csharp/fundamentals/program-structure/snippets/file-based-program/hello-world.cs index e3173e7a15eb4..7cc349c4f1369 100644 --- a/docs/csharp/fundamentals/program-structure/snippets/file-based-program/hello-world.cs +++ b/docs/csharp/fundamentals/program-structure/snippets/file-based-program/hello-world.cs @@ -1,2 +1,2 @@ -#!/usr/local/share/dotnet/dotnet run +#!/usr/bin/env dotnet Console.WriteLine("Hello, World!");