public static void Main(string[] args) { Salutation app = new Salutation(); System.Console.WriteLine(app.Greeting()); System.Console.WriteLine(app.Greeting("Bob")); }
public static void Main(string[] args) { System.Console.WriteLine(Salutation.Greeting()); System.Console.WriteLine(Salutation.Greeting("Bob")); System.Console.WriteLine(); // print a blank line System.Console.WriteLine(Salutation.Farewell()); }