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.

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Your Information

(Name and email address are required. Email address will not be displayed with the comment.)