yoniLavi
3
Q:

hello world c#

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

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello, world!");

            // To prevents the screen from  
            // running and closing quickly 
            Console.ReadLine();
        }
    }
}
0

Tags

Related

New to Communities?

Join the community