a.GetLength(0);//行数 a.GetLength(1);//列数 转载于:https://www.cnblogs.com/greencolor/archive/2009/09/03/1559656.html