My fantastic Webdings Logo

Reamped.NET

XML Thingey... It's a Technical Term


Implementing Interfaces: ICloneable and IComparable

A friend of mine was showing me about some common interfaces and some good use cases for them the other day. A discussion arose of how to accurately create a deep copy of an object and the best way to go about it. Shortly after that discussion we got into the Sort() method and how to dictate how that method will sort your objects. This is when he spilled into telling me all about these common interfaces. So I decided to try to put together a good sample of these and the best way I could gather to implemen... [More]