Print Hello World of c# Programming

First Program of C# 

Print  Hello World Of  C#💛

using System;
//Header File (// is Comment method).
namespace Hello
    // namespace is divided any method.
{
    public class Hello 
        // public is used every public class.
    {
        static void Main(string[] args)
             //
            // void is not returned type ;
            //Main is main function;
            //string is data type;
            //[] is array;
        {
            Console.WriteLine("Hello World !");
            //Console is method , the method print of output or input.
            // WriteLine is  print method 
            Console.ReadKey();
        }

        
    }

}
Output :


*

إرسال تعليق (0)
أحدث أقدم