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
27 weeks 6 days ago
28 weeks 2 days ago
28 weeks 2 days ago
29 weeks 4 days ago
30 weeks 1 day ago
30 weeks 2 days ago
40 weeks 13 hours ago
50 weeks 17 hours ago
1 year 4 days ago
1 year 1 week ago