Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            var      a = new MyClass();
            IDerived b = a;

            b.Dima();
            ////
            ///
            var d       = new DateTimeProp();
            var newDate = d.MyProperty.AddDays(2.0);

            Console.WriteLine(d.MyProperty + " old date");
            Console.WriteLine(newDate + " new date");
        }