27 lines
204 B
C#
27 lines
204 B
C#
|
using System;
|
||
|
|
||
|
interface I
|
||
|
{
|
||
|
void Hello ();
|
||
|
}
|
||
|
|
||
|
class Stack<T>
|
||
|
where T : ICloneable
|
||
|
{
|
||
|
public object Test (T t)
|
||
|
{
|
||
|
return t.Clone ();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
class Test
|
||
|
{
|
||
|
}
|
||
|
|
||
|
class X
|
||
|
{
|
||
|
public static void Main()
|
||
|
{
|
||
|
}
|
||
|
}
|