摘要:
获取多维数组的维数和行数1 int[,,] a =new int[10,11,12]; 2 Console.WriteLine(a.Length); // 1320 3 Console.WriteLine(a.GetLength(0)); // 10 4 Console.WriteLine(a.GetLength(1)); // 11 5 Console.WriteLine(a.GetLength(2)); // 12多维数组的声明:1 string[,] book_arr = new string[,] { { "English", "101" ... 阅读全文
摘要:
1 private static XmlElement rootele; 2 private static XmlElement xmlele; 3 private static XmlNodeList nodelist; 4 private static XmlNode xmln; 5 private static void CreateNewXMLFile() 6 { 7 string[,] book_arr = new string[,] { { "English", "101... 阅读全文