A method cannot both have a params parameter and varargs
A method declaration cannot have both the params keyword and __arglist. The recommended way to define a method to take multiple parameters is with the params keyword.
The following sample generates CS0224:
public class MyClass { public static void MyMethod(params int[] a, __arglist) { // CS0224 // try the following line instead // public static void MyMethod(params int[] a) { } public static void Main () { } }