3 public class NoTypeOptionalParameters
5 public static void Lambda (bool asc
= true, params Func
<string,bool>[] where
)
9 public static void MethodGroup (bool asc
= true, params Func
<string,bool>[] where
)
13 static bool Foo (string arg
)
18 bool FooInstance (string arg
)
23 public static int Main ()
26 Lambda (where
: x
=> true, asc
: i
);
27 MethodGroup (where
: Foo
, asc
: i
);
28 MethodGroup (where
: new NoTypeOptionalParameters ().FooInstance
, asc
: false);