Partial object deep copy with extension methods

added by galratner
5/6/2010 12:01:08 PM

0 Kicks, 76 Views

Deep copy is the process of cloning a complete object into new object of the same type. All of the member values are being copied into new memory addresses and the clone will not be effected by any changed to the original object. If you need to perform a partial deep clone, a cloning method that simply copied values of fields from one object into another object of the same type, without creating a new perfect clone, you might find this extension method useful.


0 comments