Create First Program of C#?

0
Create First Program of C#:-



1 Install Visual Studio or .NET Framework  (windows has .NET Framework by default)

2 Open notepad and write Program

 using System;  //namespace (it contain a set of classes and methods logically)
  class Classname
  {
     public static void main()
    {


     }

  }
  

3   Save this file using .cs extension in any driver c:/,d:,etc


4   Compile this file using Command Prompt

     CSC  Filename     (CSC means C-Sharp compiler)

5   Execute this file 

     Filename.exe


                          


Tags

Post a Comment

0Comments

POST Answer of Questions and ASK to Doubt

Post a Comment (0)