Start your first c# program.
Hello, world in c#.
1. click on File Menu.
2. Click on new and then click on project
3. then a window open like below select language visual c# give the proper application name as you want then select save path you want to save your console project and click on ok
then write the below code on
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication2
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World");
Console.ReadLine();
}
}
}
after writing above code run your project using F5.
Here is your output.
if you like then plz comment.
Hello, world in c#.
1. click on File Menu.
2. Click on new and then click on project
3. then a window open like below select language visual c# give the proper application name as you want then select save path you want to save your console project and click on ok
then write the below code on
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication2
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World");
Console.ReadLine();
}
}
}
after writing above code run your project using F5.
Here is your output.
if you like then plz comment.
No comments:
Post a Comment