Header Ads

Types And Variables C#


Types And Variables C#


We wrote our first code. We printed the 'Hello World' statement, which is standardized in the introduction to coding.

namespace TypesAndVariables
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World");
}
Console.ReadLine();
}
}

In the code Console.Readline (); for black screen to close immediately. The program waits for the user to press a key to close.

No comments

Powered by Blogger.