diff --git a/docs/standard/commandline/snippets/get-started-tutorial/csharp/Stage2/Program.cs b/docs/standard/commandline/snippets/get-started-tutorial/csharp/Stage2/Program.cs index 196e7e8c10e43..d13192a42337a 100644 --- a/docs/standard/commandline/snippets/get-started-tutorial/csharp/Stage2/Program.cs +++ b/docs/standard/commandline/snippets/get-started-tutorial/csharp/Stage2/Program.cs @@ -5,7 +5,7 @@ namespace scl; class Program { - static int Main(string[] args) + static async Task Main(string[] args) { var fileOption = new Option( name: "--file",