Possible Duplicate:
Cloning objects in C#
I have a class with properties and some of them are reference types (instances of other classes) themselves (CookieContainer
).
I want to have a exact copy of this class so any change to previous version would not affect this new instance.
Is there a general solution for this kind of problems or I should do it manually ?