Why do some .NET Framework classes not use Generics when they could?
Posted
by Chris Dwyer
on Stack Overflow
See other posts from Stack Overflow
or by Chris Dwyer
Published on 2010-05-10T23:45:56Z
Indexed on
2010/05/10
23:54 UTC
Read the original article
Hit count: 178
Example:
System.Web.Security.MembershipCollection
implements IEnumerable
and not IEnumberable<T>
. Why doesn't it implement the latter, when it seems that it would be better (e.g. use LINQ)?
Or, is it not necessarily better?
© Stack Overflow or respective owner