03 December 2011

C# Lesson 3 : Creating Your First C# Program

This lesson teaches you how to create a simple application—first using Windows Notepad and the C# Command Line Compiler, and then by using Visual Studio or Visual C# Express Edition. The video concludes with an explanation of common solutions to the many different problems you might encounter as you first begin writing and compiling code.

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)
            // This is a comment
            Console.WriteLine("Hello World");

Source : MS Virtual Academy
Post a Comment