News

Microsoft .Net provides support for cloning objects -- an ability to create an exact copy of an object (also known as a clone). Cloning can be of two types: shallow copy and deep copy.
Deep and Shallow Copies A shallow copy of an object is one where only the addresses of data created in dynamic memory have been copied, rather than the data themselves. A deep copy of an object is one ...