Linked by Rüdiger Klaehn on Thu 5th Aug 2004 05:00 UTC
.NET (dotGNU too) One of the most awaited features of Microsoft .NET 2.0 is generics. Generics promise to increase type safety, improve performance, reduce code duplication and eliminate unnessecary casts. The most obvious application of generics in the framework class library are the generic collections in the new System.Collections.Generic namespace. Much has been written about those, but they are not the topic of this article.
Permalink for comment
To read all comments associated with this story, please click here.
RE: The Problem with .NET Generics
by jeff on Thu 5th Aug 2004 05:54 UTC

@Rüdiger Klaehn
Have you posted this on the suggestions (feature request) area of MSDN? I believe the site is http://lab.msdn.microsoft.com/productfeedback/ They seem to be taking and responding very well to suggestions with all upcomming development products including the .NET framework. I've already added two suggestions, one of which I think will be implemented in C# 2.0 or the next release version. If you haven't I would go over there right away and get it in.

As far as Method Constraints, I believe these very features you speak of are mentioned in the C# 2.0 specs however I can't recall if operator constraints are allowed.

Thanks for the insight.