a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
20 lines
205 B
C#
20 lines
205 B
C#
class Foo<T>
|
|
{ }
|
|
|
|
class Stack<T>
|
|
{ }
|
|
|
|
//
|
|
// We may use a constructed type `Stack<T>' instead of
|
|
// just a type parameter.
|
|
//
|
|
|
|
class Bar<T> : Foo<Stack<T>>
|
|
{ }
|
|
|
|
class X
|
|
{
|
|
public static void Main ()
|
|
{ }
|
|
}
|