19 lines
234 B
C#
19 lines
234 B
C#
|
using System;
|
||
|
|
||
|
class Test1
|
||
|
{
|
||
|
static object Foo (int arg = 1, int arg2 = 2)
|
||
|
{
|
||
|
return null;
|
||
|
}
|
||
|
|
||
|
static object Foo (object arg, object arg2)
|
||
|
{
|
||
|
return null;
|
||
|
}
|
||
|
|
||
|
public static void Main ()
|
||
|
{
|
||
|
Func<int, int, object> o = Foo;
|
||
|
}
|
||
|
}
|