== Examples ==The following is a very simple C# program, a version of the classic "Hello world" example:<syntaxhighlight lang=CSharp>using System;class Program</syntaxhighlight>The effect is to write the following text to the output console:Each line has a purpose:<syntaxhighlight lang=CSharp>using System;</syntaxhighlight>The above line of code tells the compiler to use codice_24 as a candidate prefix for types used in the source code.