Day 34
C# Output
To output values or print text in C#, you can use the WriteLine() method:
ExampleGet your own C# Server
Console.WriteLine("Hello World!");
You can add as many WriteLine() methods as you want. Note that it will add a new line for each method:
Example
Console.WriteLine("Hello World!");
Console.WriteLine("I am Learning C#");
Console.WriteLine("It is awesome!");
Comments
Post a Comment