Programming Fundamentals/Introduction/C Sharp
Appearance
(Redirected from Computer Programming/Introduction/C Sharp)
hello.cs
[edit | edit source]// 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 | edit source]Copy and paste the code above into one of the following free online development environments or use your own C Sharp compiler / interpreter / IDE.