ASP.NET 2.0: Postback to other pages
More than 100 Groups with INETA Europe!

IComparer and IComparable might change after Beta 1

Krzysztof Cwalina blogs about a proposal to refactor these new interfaces.

Currently the interface IComparable<T> defines the methods CompareTo and Equals. Because not always all methods are needed, the new version might be two interfaces: IEquateable<T> and IComparable<T>.

I prefer multiple interfaces instead of imlementing methods that are not needed!

Krysztof is looking for feedback.

There are also some discussions at LadyBug:

Christian

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

Christian

IComparerT may be refactored, too: interface IEqualityProviderT { bool Equals(T x, T y); int GetHashCode(T obj); } interface IComparerT { int Compare(T x, T y); } See http://blogs.msdn.com/kcwalina/archive/2004/10/27/248847.aspx

green smoke online coupon codes

Fantastic blog! Do you have any helpful hints for aspiring writers? I'm hoping to start my own website soon but I'm a little lost on everything. Would you propose starting with a free platform like Wordpress or go forr a paid option? There are so many choices out there that I'm completely confused .. Any tips? Thanks!

bh cosmetics coupon code september 2012

I used to be able to find good info from your articles.

The comments to this entry are closed.