.Net and Deep Copy(weblogs.asp.net)
submitted by
gpeipman(3145) 2 years, 10 months ago
Some time ago I had to clone objects and .Net's shallow copy proved to be insufficient – it was necessary to use deep copy. No good tools are provided by .Net itself. If required, the object to be cloned must conform to the ICloneable interface and the Clone() method can be defined for the object. As the classes were not very numerous, but relatively bulky and complicated, there was no point in writing a Clone() method for all of them. I needed something else.
|category: Tips & Tricks
|Views: 14
tags:
Tips another
Everyones tags:
Your Tags: