6 static int method1 (Type t
, int val
)
8 Console
.WriteLine ("You passed in " + val
);
12 static int method1 (Type t
, Type
[] types
)
14 Console
.WriteLine ("Wrong method called !");
18 static int method2 (Type t
, int val
)
20 Console
.WriteLine ("MEthod2 : " + val
);
24 static int method2 (Type t
, Type
[] types
)
26 Console
.WriteLine ("Correct one this time!");
30 public static int Main()
32 int i
= method1 (null, 1);
37 i
= method2 (null, null);