public static void CaseStudy3() { Man x; x = new Boy(); x.Play(); x.Eat(); }
public static void CaseStudy2() { Boy boy; boy = new Boy(); boy.Play(); boy.Walk(); boy.Eat(); boy.Run(); }
private static void ThePark(Boy boy) { Console.WriteLine("At the park"); boy.Play(); }