Example #1
0
        static void Main(string[] args)
        {
            var ceo1 = new CEO();

            ceo1.Age  = 29;
            ceo1.Name = "Roberto";

            var ceo2 = new CEO();

            Console.WriteLine(ceo2);
        }
Example #2
0
        static void Main(string[] args)
        {
            var coe = new CEO();

            coe.Name = "Adan Smith";
            coe.Age  = 55;

            var ceo2 = new CEO();

            Console.WriteLine(ceo2);
        }