13 lines
286 B
C#
13 lines
286 B
C#
|
public class Test
|
||
|
{
|
||
|
public static void Main ()
|
||
|
{
|
||
|
new Test (delegate () {});
|
||
|
}
|
||
|
|
||
|
public Test (TestMethod test) {}
|
||
|
public Test (TestMethod2 test2) {}
|
||
|
}
|
||
|
|
||
|
public delegate void TestMethod ();
|
||
|
public delegate void TestMethod2 (object o);
|