For deep copy of a user defined class, a class should implement ICloneable interface. The attached code in this article shows how to build clonable classes.