Submitted by Thomas on Sat, 2006-10-14 09:38.
Here is a C# class that can create a deep copy clone of an arbitrary object. The thing that's special about it is that it should work for any class that extends it, so that you don't need to re-write a custom clone() function for every child class (as it seems the C# framework creators would like). This does a deep copy so be careful about members that recursively include one another.
Recent comments
1 year 1 week ago
1 year 1 week ago
1 year 1 week ago
1 year 2 weeks ago
1 year 3 weeks ago
1 year 3 weeks ago
1 year 13 weeks ago
1 year 23 weeks ago
1 year 25 weeks ago
1 year 26 weeks ago