P
pmayer995
To anyone from Microsoft, it'd be very helpful to have generics be
able to inherit from type parameters, i.e.:
public class FieldControl<T> : T where T : WebControl
should compile instead of giving error "Cannot derive from 'T' because
it is a type parameter". Allowing this would allow mixin classes,
allow multiple implementation inheritance without the issues usually
raised. Using aggregation instead is very tedious and much harder to
maintain. I think it'd be more useful than LINQ.
Any timeline?
Thanks,
Phil
able to inherit from type parameters, i.e.:
public class FieldControl<T> : T where T : WebControl
should compile instead of giving error "Cannot derive from 'T' because
it is a type parameter". Allowing this would allow mixin classes,
allow multiple implementation inheritance without the issues usually
raised. Using aggregation instead is very tedious and much harder to
maintain. I think it'd be more useful than LINQ.
Any timeline?
Thanks,
Phil