21 lines
187 B
C#
21 lines
187 B
C#
|
class C
|
||
|
{
|
||
|
public static void Main ()
|
||
|
{
|
||
|
var a = new {
|
||
|
Field = Factory ()
|
||
|
};
|
||
|
|
||
|
a.Field.Test ();
|
||
|
}
|
||
|
|
||
|
void Test ()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
static dynamic Factory ()
|
||
|
{
|
||
|
return new C ();
|
||
|
}
|
||
|
}
|