Originally posted by Brian Deer:
Is it a type parameter that must be used if you don't put a type parameter in the class declaration?
Yes, it it is a type parameter declaration. It is used in the case you didn't use
that parameter in the class declaration. What I mean is that it is used in one of these circumstances:
- The class is not generic, i.e. it does not have a type parameter.
- The class is generic but it does not declare
that type parameter, i.e. it declares another type parameter. For instance:
- The method is static, i.e. in that case the type parameter does not apply to the method. Class' type parameters refer to a particular instantiation of a class (while static methods belong to all instantations of the class).
[ July 01, 2007: Message edited by: Sergio Tridente ]