Created
September 20, 2021 20:32
-
-
Save rruntsch/525d012deae01bc8a8c564a68841159b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
// This program writes "Hello world!" to the console window. | |
// It also demonstrates the use of single-line comments. | |
namespace CommentsSingle | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Console.WriteLine("Hello World!"); // Single-line comments can follow other code on the same line. | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment