摘要: 简单合计int[] numbers = { 5, 4, 1, 3, 9, 8, 6, 7, 2, 0 };double numSum = numbers.Sum();合计数组中的字符数string[] words = { "cherry", "apple", "blueberry" };double totalChars = words.Sum(w => w.Length);找到最小的值int[] numbers = { 5, 4, 1, 3, 9, 8, 6, 7, 2, 0 };int minNum = numbers.Mi 阅读全文
posted @ 2013-04-28 16:27 寒@鹏 阅读(199) 评论(0) 推荐(0) 编辑