I'm working with Clone() for the first time, and noticed that you have to
unbox the Clone of an object that implements ICloneable:
MyObject var1 = new MyObject(); // Where MyObject implements ICloneable
MyObject va3 = (MyObject)var1. Clone();
Does anyone know why the 2.0 framework doesn't include a Generic
implementation of the ICloneable interface?
unbox the Clone of an object that implements ICloneable:
MyObject var1 = new MyObject(); // Where MyObject implements ICloneable
MyObject va3 = (MyObject)var1. Clone();
Does anyone know why the 2.0 framework doesn't include a Generic
implementation of the ICloneable interface?
Comment