36 lines
387 B
C#
36 lines
387 B
C#
|
// Compiler options: -t:library
|
||
|
|
||
|
using System;
|
||
|
|
||
|
public class C
|
||
|
{
|
||
|
public class CC
|
||
|
{
|
||
|
public static string Print ()
|
||
|
{
|
||
|
return typeof (CC).FullName;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static string Print ()
|
||
|
{
|
||
|
return typeof (C).FullName;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public class D
|
||
|
{
|
||
|
public static string Print ()
|
||
|
{
|
||
|
return typeof (D).FullName;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public struct G<T>
|
||
|
{
|
||
|
public static T Test (T t)
|
||
|
{
|
||
|
return t;
|
||
|
}
|
||
|
}
|