16 lines
160 B
C#
16 lines
160 B
C#
|
using System;
|
||
|
|
||
|
public class Foo<T>
|
||
|
{ }
|
||
|
|
||
|
class X
|
||
|
{
|
||
|
static bool Test (object o)
|
||
|
{
|
||
|
return o is Foo<int> ? true : false;
|
||
|
}
|
||
|
|
||
|
public static void Main ()
|
||
|
{ }
|
||
|
}
|