C Sharp

From LQWiki
Jump to navigation Jump to search

C# is a programming language developed by Microsoft for their .Net platform. The syntax of C# is similar to Java and is highly object oriented.

Example

The infamous hello world application ported to C#.

using namespace System;

namespace HelloNS
{
    public class HelloWorld
    {
        public static int Main(String[] args)
        {
            Console.WriteLine("Hello world!");
        }
    }
}

OpenSource C# compilers

See also