Finding the number of elements in a sub-array?

Hello. If I have a multi-dimensional array, how can I find the length of one of the first dimension arrays(in this case, I want to find how many elements are in the first element of the array) ?

var TestArray : int[,];
var TestVar : int;

function Start (){
	TestVar=TestArray[0].length;
}

Thanks

Almost right- what you want is this:

TestVar = TestArray.GetLength(0);