Implementing Interfaces: ICloneable and IComparable(blog.reamped.net)

submitted by kayoskayos(890) 4 years, 2 months ago

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.

1 comment |category: |Views: 63

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by samdnpsamdnp(980) 4 years, 2 months ago 0

I just learned how to use C# interfaces a while ago, and I have found them very useful. ICloneable and IComparable look useful. So many things to learn!

Reply

information Login or create an account to comment on this story