C# - Hello You Program


Home

Author: Kevin Albrecht
Date: August 13, 2004
Info: Wikipedia Entry
using System;

class HelloYou
{
    public static void Main()
    {    
        Console.Write ("What is your name? ");
        string name = Console.ReadLine ();
      	Console.WriteLine ("Hello " + name + "!");
    }
}

Home