A type that is nested in a generic type can depend on the type parameters
of the enclosing generic type. The common language runtime considers
nested types to be generic, even if they do not have generic type
parameters of their own. When you create an instance of a nested type,
you must specify type arguments for all enclosing generic types.
Asked In: Many Interviews |
Alert Moderator