C# Hello World

35

c# hello world -

using System;

namespace myApp
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");
        }
    }
}

c# hello world -

using System;
namespace HelloWorld
{
    class Hello
{         
        static void Main(string[] args)
        {
          Console.WriteLine("Hello World!");
        }
    }
}

c# hello world -

// Hello World! program
using System;
 
namespace HelloWorld
{
    class Hello {         
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");
        }
    }
}

C# Hello World -

class Program
{
  static void Main(string[] args)
  {
    System.Console.WriteLine("Hello, World!");
  }
}

Comments

Submit
0 Comments