From d858935b987984a9c2fde6721f98f794b7c2f2d9 Mon Sep 17 00:00:00 2001 From: rizoooooo <115442506+rizoooooo@users.noreply.github.com> Date: Tue, 17 Oct 2023 14:30:24 +0500 Subject: [PATCH] Update HelloWorld2.cs --- C#/HelloWorld2.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/C#/HelloWorld2.cs b/C#/HelloWorld2.cs index 4c66328c..41ab4f48 100644 --- a/C#/HelloWorld2.cs +++ b/C#/HelloWorld2.cs @@ -4,14 +4,14 @@ class HelloWorld2 { static void Main() { //print text without inserting new line after the message - Console.Write("Hello world,"); + Console.Write("Hello,"); Console.Writeln("How are you?"); //print next line Console.WriteLine(); //print text with new line after the message - Console.WriteLine("Hello world"); + Console.WriteLine("Hello "); Console.WriteLine("How are you?"); //print new line using escape sequence just like C language - Console.WriteLine("Hello world\nHow are you?"); + Console.WriteLine("Hello\nHow are you?"); } }