To Examples
Greeter1 Example, source code file Program.cs
using System; ///
/// Greeter1 Example, source code file Program.cs. /// Read the name of a person, then issue a greeting to that person. ///
namespace Greeter1 { public class Program { public static void Main() { string name; Console.Write("What is your name? "); name = Console.ReadLine(); Console.WriteLine("Hello, " + name + "."); Console.ReadLine(); } } }