J
Jax
I have inherited the ICloneable interface and have set up
a public object Clone() method;
This method creates a new version of itself puts all it's
stuff in it(and yes all custom objects within have the
same method) then casts that into and object and passes it
back.
Is this not a deep copy?
It isn't working, I change the value and it satays changes
on the originals, how do I sort this out?
Many thanks to any help given.
jax
a public object Clone() method;
This method creates a new version of itself puts all it's
stuff in it(and yes all custom objects within have the
same method) then casts that into and object and passes it
back.
Is this not a deep copy?
It isn't working, I change the value and it satays changes
on the originals, how do I sort this out?
Many thanks to any help given.
jax