2 delegate void Foo (string x
, params object [] args
);
4 static void Bar (string x
, params object [] args
) {}
5 public static void Main () {
6 Foo bar
= new Foo (Bar
);
8 bar ("Hello", "world");
9 bar ("Hello", new string [] { "world" }
);
10 bar ("Hello", "world", "!!!");
12 bar ("x' = ", new object [] {"Foo", 5, 3.6 }
);
13 bar ("x'' = ", "Foo", 5, 3.6);