how to print hello world in c# code example
Example 1: hello world program in c#
// Hello World! program
namespace HelloWorld
{
class Hello {
static void Main(string[] args)
{
System.Console.WriteLine("Hello World!");
}
}
}
Example 2: hello world c#
Console.WriteLine("Hello World!");
Example 3: hello world in c#
console.WriteLine("Hello World");