public static void Main() { Soldier giJoe = new Soldier(266143); PhoneCall aCall = new PhoneCall("212", "344-4188"); Console.WriteLine(giJoe.ToString()); giJoe.Reverse(); Console.WriteLine(giJoe.ToString()); giJoe.Reverse(); Console.WriteLine(giJoe.ToString()); Console.WriteLine(aCall.ToString()); aCall.Reverse(); Console.WriteLine(aCall.ToString()); }
public static void TenThree() { Soldier giJoe = new Soldier(266143); PhoneCall aCall = new PhoneCall("212", "344-4188"); WriteLine(giJoe.ToString()); giJoe.Reverse(); WriteLine(giJoe.ToString()); giJoe.Reverse(); WriteLine(giJoe.ToString()); WriteLine(aCall.ToString()); aCall.Reverse(); WriteLine(aCall.ToString()); System.Console.ReadLine(); }