using System;
public class Program
{
public static void Main()
int[] digits = new int[10]{1,2,3,4,5,6,7,8,9,10};
Test(digits);
digits = new int[5]{1,2,3,4,5};
//Test(1,2,3);
//Test(1,2);
//etc.. can be used if params keyword exists
}
static void Test(int[] numbers) //static void Test(params int[] numbers)
//RULES:
//1. data type must be array
//2. must be last argument of method
//3. only 1 parameter can be marked as params