Monday, August 4, 2014

There are four easy steps to write the any program

There are four steps to write any program, first write the program in that language i.e.c#.net then save the program with .cs extension which is extension for c#.net then compile the program using c# compiler and execute the program.
   1.Write the program
   2.Save the Program
   3.Compile the Program
   4.Execute the Program

using System;


   class demo
 {
     static void Main()
{
   Console.WriteLine("hello...world..!");

}

 }
When we going to execute this program then first we have to save the program in .cs extension.
Copy the above program and paste in visual studio 2008 and press F5 to execute this program.
Categories: ,

0 comments:

Post a Comment