博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2009年8月4日

摘要: .NET Framework 3.0 以上,支持LinQ1,2,3,4,5,2,1,9统计各字符出现次数,语言不限, 程序代码using System.Collections;int[] scores = new int[] { 97, 92, 81, 60 };for (int i = 0; i scores.Length; i++) {int localNum=scores.GetValue(i);IEnumerableint query =from score in scoreswhere score = localNumselect score;int scoreCount = 阅读全文

posted @ 2009-08-04 16:52 冷咖啡(子锡) 阅读(190) 评论(0) 推荐(0) 编辑