private static void Main() { Console.Title = "Исследование контекста объекта"; Console.ForegroundColor = ConsoleColor.Green; var sportCar = new SportCar(); Console.WriteLine(); var sportCar2 = new SportCar(); Console.WriteLine(); var sportCarTs = new SportCarTs(); Console.ReadLine(); }
static void Main(string[] args) { Console.WriteLine("***** Fun with Object Context *****\n"); SportCar sport = new SportCar(); Console.WriteLine(); SportCar sport2 = new SportCar(); Console.WriteLine(); SportsCarTS synchroSport = new SportsCarTS(); Console.ReadLine(); }