C#中的数组是由System.Array类衍生出来的引用对象,因此可以使用Array类中的各种方法对数组进行各种操作。...定义一维数组
int[] Array = new int[10] { 57, 32, 78, 96, 33, 11, 78, 3, 78, 2 };
// 声明两个变量用来存储最大值和最小值...// 将两个一维数组,合并到一个二维数组中
int[,] Array3 = new int[2, 5];
// Rank = 二维数组中的2...max = (int)list[x];
sum += (int)list[x];
}
Console.WriteLine("最大值...Hashtable 哈希表,他表示键值对的一个集合,这些键值对根据键的哈希代码进行组织,键不可以为空,值可以为空。