Tuesday 11 February 2014

C#.net First Program

Unknown  /  at  19:32  /  No comments

C#.net First Program
Hello guyes C Sharp Dot Net is now going to start the next step.  
When we have creat a new project in C Sharp Dot Net whatever it is usually seen in the holdings code.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {

        }
    }
}

if we see the screenshot the screenshot show the same screen






static void Main(string[] args)
{

}
Our code write in here.  If you need to write any console program please write in the code in here the middle main methode .
Console.WriteLine();
This is the building main methode in c sharp program . If you need to run any command so need to the method  Console.WriteLine();


Ok guyes let’s go start now





Now, we've used a method. Look at  the code of the key in the underline .
Console.ReadLine();

This code stands for the hole to run a program after a certain time is used to display.
Ok lets go see the original code .
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello C Sharp!");
            Console.ReadLine();
        }
    }
}



See the screenshot please.




What we see now is to run.  When you run this program screen will appear exactly like this.
So let's see what you've seen.





Dounload The source code : Clcik For Download
Thanks a lot guyes for watching the tutorial please stay in here for next turorial
      >>Next Step In here




Share
Posted in: Posted on: Tuesday 11 February 2014

0 comments:

Thank you for your comment

Recent Comments

Copyright © 2014 Tutorialspoint. Nazmul Theme-Tutespoint converted by Theme-Tutespoint
Blogger templates. Proudly Powered by Blogger.