Hi
we want to know that How do we implement deep cloning?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Lajapathy ArunPosted Apr 29, 2012, 9:38 AM
http://www.c-sharpcorner.com/Blogs/8863/cloning-reusable-custom-generic-class-in-C-Sharp.aspx
Shows how to get deep or shallow copy
public GenericTupleOfTwo<string, int> Clone()
{
return (GenericTupleOfTwo<string, int>)this.MemberwiseClone();
}