1. using System;
    2. namespace Hello_World__
    3. {
    4. class Program
    5. {
    6. static void Main(string[] args)
    7. {
    8. Console.WriteLine("Hello World!");
    9. Console.ReadKey();
    10. }
    11. }
    12. }

    Console.WriteLine(“Hello World!”);

    Console.ReadKey();