21 lines
135 B
C#
21 lines
135 B
C#
|
interface I
|
||
|
{
|
||
|
void Hello ();
|
||
|
}
|
||
|
|
||
|
class Stack<T>
|
||
|
where T : I, new ()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
class Test
|
||
|
{
|
||
|
}
|
||
|
|
||
|
class X
|
||
|
{
|
||
|
public static void Main()
|
||
|
{
|
||
|
}
|
||
|
}
|