int[]Check(params int[] inp) { int[] ret = new int[inp.Length]; //делаем что надо со входными значениями и заносим их в ret return ret; }