Monday, September 26, 2011

Here is the Hello World app from the evening class

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

namespace HelloWorld
{
    /*This is the traditional
     * Hello world application
     * pretty boring */

    
    class Program
    {
        static void Main(string[] args)
        {
            //This uses the console object
            //and its WriteLine method
            Console.WriteLine
                ("Hello all you Martians");
            //this is to pause the program long enough
            //to see it
            Console.ReadKey();
        }
    }
}

No comments:

Post a Comment