Exemplo n.º 1
0
 public void Func1()
 {
     Derived2 d = new Derived2();
     Derived2 d2 = d.Clone() as Derived2;
     if (d2 == null)
     {
         Console.WriteLine("null");
     }
 }
Exemplo n.º 2
0
 public object Clone()
 {
     Derived2 rVal = new Derived2(this);
     return rVal;
 }
Exemplo n.º 3
0
 private Derived2(Derived2 right)
     : base(right)
 {
     _dValues = right._dValues.Clone() as double[];
 }