Programming Fundamentals/Introduction/C Sharp

hello.cs

edit
// This program displays "Hello world!"
//
// References:
//     https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/inside-a-program/hello-world-your-first-program

public class Hello
{
    public static void Main()
    {
        System.Console.WriteLine("Hello world!");
    }
}

Try It

edit

Copy and paste the code above into one of the following free online development environments or use your own C Sharp compiler / interpreter / IDE.

See Also

edit