23 lines
192 B
C#
23 lines
192 B
C#
|
class Test
|
||
|
{
|
||
|
public static int Foo ()
|
||
|
{
|
||
|
return 5;
|
||
|
}
|
||
|
|
||
|
public static void Main ()
|
||
|
{
|
||
|
}
|
||
|
}
|
||
|
|
||
|
struct S
|
||
|
{
|
||
|
static int v = Test.Foo ();
|
||
|
|
||
|
Test Test {
|
||
|
get {
|
||
|
return new Test ();
|
||
|
}
|
||
|
}
|
||
|
}
|