1. Home
  2. Computing & Technology
  3. C / C++ / C#

Instructions for Downloading and Installing Visual C# 2008 Express Edition

By , About.com Guide

8 of 9

Compiling a Sample Application "Hello World"

Microsoft Visual C# 2008 Express Edition
Do a File New Project it should look like the screen above then on the New Project Screen select Console Application Enter a name like ex1 in the Name: box.

After the { braces following the static void Main( line type

            Console.WriteLine("Hello World") ;
            Console.ReadKey() ;

It should look like this:


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World") ;
            Console.ReadKey() ;
        }
    }
}
Now Press the F6 key and it should say Build succeeded in the bottom left of the IDE.

On the next page : Running the Hello World Application

Explore C / C++ / C#
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. C / C++ / C#
  4. C# / C Sharp
  5. Learn C Sharp
  6. Compiling a Sample Application "Hello World"

©2009 About.com, a part of The New York Times Company.

All rights reserved.