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.
Making a copy with the root object and composed objects is also not trivial. Let’s explore the most effective ways to copy an object using shallow and deep copy techniques.