static void Main(string[] args) { string name = Greeter.GetName(); MessageBox.Show("Hello " + name); Console.WriteLine("Hello " + name); Console.WriteLine("Press any key to continue..."); Console.ReadKey(); }
static void Main(string[] args) { string name = Greeter.GetName(); MessageBox.Show("Hello " + name); Console.WriteLine("Hello " + name); Console.WriteLine("Press any key to continue..."); Console.ReadKey(); }