using System;var greeting = new Greeting();greeting.SayGoodby();class Greeting { public void SayGoodby() { Console.WriteLine("Goodby!"); }}