a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
23 lines
262 B
C#
23 lines
262 B
C#
public class Stack
|
|
{
|
|
public Stack ()
|
|
{ }
|
|
|
|
public void Hello<T> (T t)
|
|
{ }
|
|
}
|
|
|
|
public class X
|
|
{
|
|
public static void Foo (Stack stack)
|
|
{
|
|
stack.Hello<string> ("Hello World");
|
|
}
|
|
|
|
public static void Main ()
|
|
{
|
|
Stack stack = new Stack ();
|
|
Foo (stack);
|
|
}
|
|
}
|