How to create Hello World Program in csharp/c# ?

Below is the basic CSharp/C# program to print Hello World on console –

[csharp]
namespace kodehelp.csharp.basic
{
/// <summary>
/// HelloWorld in C#
/// </summary>
public class HelloWorld
{
public static void Main()
{
//
// Print Hello World on the console
//
System.Console.WriteLine("Hello World");
}
}
}
[/csharp]

2 comments

Please Post Your Comments & Reviews

Your email address will not be published. Required fields are marked *