C#中的数组是由System.Array类衍生出来的引用对象,因此可以使用Array类中的各种方法对数组进行各种操作。...int[] Array = new int[10] { 57, 32, 78, 96, 33, 11, 78, 3, 78, 2 };
// 声明两个变量用来存储最大值和最小值...: {0} 最小值: {1} 总和: {2} 平均值: {3}", max, min, sum, sum / Array.Length);
Console.ReadKey();...{0}", hash.Count);
// 移除一个hash值
hash.Remove("sex");
// 根据hash查找...是否存在
Console.WriteLine("根据key查找: {0}", hash.Contains("name"));
Console.WriteLine