How To Print Hello World in C#
in
LATEST,
LINUX,
PROGRAMMING,
WINDOWS
- on 22:16
- No comments
C# is a very beautiful programming language. People call it the "twin brother of Java" because it has similar syntaxes with java. So if you have always programmed in java, C# won't be a problem for you.
Here is how to write "Hello World" in C#:
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello, world!");
Console.ReadLine();
}
}
}
Output: Hello, World
Enjoy programming...Charles!


Post a Comment