int[] {3,4}
refers to a location, not an array and holds an int. Your function should be
function(int me)
{
//Whatever
}
this is how you will get value and pass to your function
int valueFromLocation = numbers[3,4];
function(valueFromLocation )
{
//Whatever
}
EDIT:
if you need whole array in any case use Jagged Arrays
int[][] jaggedArray =
new int[2][] { new int[] {2,3,4}, new int[] {5,6,7,8,9} };
int[] array1 = jaggedArray[1];
int[] array1 = jaggedArray[2];
now you can pass it the way you want
function(int[] array){}