Here is the code:

using System;
public class HelloWorld
{
public static void Main() {
Console.Write("Hello World!");
}
}