To start learning about C#, you can create a new project by select File -> New project.
Enter your project name, then click the OK button to complete. It's easy is not it
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello, world!");
Console.ReadLine();
}
}
}
Now, we'll add a "Hello, world!" string to your main program. The main thread will begin when your program start, to display results on your screen we use WriteLine method, to Read value from keyboard you can use ReadLine method.
Now, press F5 to run your program, you will see the black window as below.