public class Program { public static void Main() { // Prints a message to the console. System.Console.WriteLine("Hello, World!"); // Waits for the user to press a key. This prevents the application // from immediate termination. System.Console.ReadLine(); } }