2 // This test tests both how arguments are selected in the presence
3 // of ref/out modifiers and the params arguments.
10 public static void Foo (ref int i, ref int j)
15 public static int Bar (int j, params int [] args)
20 foreach (int i in args){
21 Console.WriteLine ("My argument: " + i);
28 public static void Foo (int i, int j)
33 static void In (ref int a)
38 static void Out (ref int a)
43 public static int Main ()
48 int [] arr = new int [2] { 0, 1 };
58 if (Bar (i, j, 5, 4, 3, 3, 2) != 19)
61 //if (Bar (1, arr) != 1)