Exemple #1
0
        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();
        }
Exemple #2
0
        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();
        }