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)
{
}
}
}
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();
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();
}
}
}
What we see now is to run.
When you run this program screen will appear exactly
like this.
Thanks a lot guyes for watching the
tutorial please stay in here for next turorial
>>Next
Step In here
0 comments:
Thank you for your comment