I created 2 objects from a custom collection class.
IntCollection a = new IntCollection() ;
IntCollection b = new IntCollection() ;
a.FromInt32Arra y(someIntArray) ;
b = a;
However when ever I attempt to remove items from the object a, somehow b
will be affected. Is there a reason why this is happening?
IntCollection a = new IntCollection() ;
IntCollection b = new IntCollection() ;
a.FromInt32Arra y(someIntArray) ;
b = a;
However when ever I attempt to remove items from the object a, somehow b
will be affected. Is there a reason why this is happening?
Comment