From 71c6cda8f5d85e372b036de446aefa802dfb6d16 Mon Sep 17 00:00:00 2001 From: Shane Davis <1821509+sdavis3@users.noreply.github.com> Date: Fri, 23 Dec 2022 11:59:08 -0500 Subject: [PATCH] Minor edits to match actual output The example shows the output without a comma between "Hello" and "World!". The actual output includes a comma and could be misleading to a new developer. --- docs/core/tutorials/with-visual-studio-code.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/core/tutorials/with-visual-studio-code.md b/docs/core/tutorials/with-visual-studio-code.md index cd6f32c528ec8..0747c2bcbc7fc 100644 --- a/docs/core/tutorials/with-visual-studio-code.md +++ b/docs/core/tutorials/with-visual-studio-code.md @@ -40,7 +40,7 @@ Create a .NET console app project named "HelloWorld". dotnet new console --framework net7.0 ``` - The project template creates a simple application that displays "Hello World" in the console window by calling the method in *Program.cs*. + The project template creates a simple application that displays "Hello, World" in the console window by calling the method in *Program.cs*. ```csharp Console.WriteLine("Hello, World!"); @@ -55,7 +55,7 @@ Create a .NET console app project named "HelloWorld". { static void Main(string[] args) { - Console.WriteLine("Hello World!"); + Console.WriteLine("Hello, World!"); } } } @@ -81,7 +81,7 @@ Run the following command in the **Terminal**: dotnet run ``` -The program displays "Hello World!" and ends. +The program displays "Hello, World!" and ends. ![The dotnet run command](media/with-visual-studio-code/dotnet-run-command.png) @@ -164,7 +164,7 @@ Create a .NET console app project named "HelloWorld". dotnet new console --framework net6.0 --use-program-main ``` - The project template creates a simple application that displays "Hello World" in the console window by calling the method in *Program.cs*. + The project template creates a simple application that displays "Hello, World" in the console window by calling the method in *Program.cs*. ```csharp namespace HelloWorld; @@ -173,7 +173,7 @@ Create a .NET console app project named "HelloWorld". { static void Main(string[] args) { - Console.WriteLine("Hello World!"); + Console.WriteLine("Hello, World!"); } } ``` @@ -198,7 +198,7 @@ Run the following command in the **Terminal**: dotnet run ``` -The program displays "Hello World!" and ends. +The program displays "Hello, World!" and ends. ![The dotnet run command](media/with-visual-studio-code/dotnet-run-command.png)