9 static void Foo
<T
> (T t
, T u
= default (T
))
13 static void TestParams (params int[] i
)
15 throw new ApplicationException ();
18 static void TestParams (int i
= 4)
22 static void TestParams2 (string s
, params int[] i
)
24 throw new ApplicationException ();
27 static void TestParams2 (string s
, int i
= 4)
31 static void TestStruct (int? s
= new int ())
34 throw new ApplicationException ("TestStruct");
37 static void TestStruct2 (S
? s
= new S
? ())
41 public string this [int i
, string s
= "test"] {
46 public static int Main ()
52 Foo
<string> ("2", "3");