Suppose we have a nested generic class:
public class A<T> {
public class B<U> { }
}
Here, typeof(A<int>.B<>)
is in essence a generic class with two parameters where only the first is bound.
If I have a single class with two parameters
public class AB<T, U> { }
Is there a way to refer to "AB
with T=int
and U
staying open"? If not, is this a C# limitation, or a CLR limitation?