C sharp (C#) Hello world

create a cs file hello-world.cs and add code.

run the file in cmd
C:\Desktop> C:\Windows\Microsoft.NET\Framework64\v3.5\csc.exe hello_word.cs

then a executable will be created called hello_word.exe. That is your program. Run that to run you program.