C#

Introduction

C# is one of the major languages used to write applications for the .NET Framework and was developed specifically for that purpose unlike for instance IronPython which adapted an already existing language for use with the .NET Framework.

There are already many good resources to learn how to write programs with C#. In this tutorial we will focus on some specific topics that may not be covered as extensively anywhere else. The first tutorial right below on this page will analyze the typical "Hello World!" application, the tools needed to convert it to something that can be excuted by the CLR and the resulting code.

C# Project Creation Dialog
Figure 1: C# Project Creation Dialog
File: Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HelloWorld
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.Write("Hello World!\r\n");
        }
    }
}

Copyright(c) 2006-2017 Xavier Leclercq | Privacy policy

Home
Contact Us
Search