摘要: 1 /// 2 /// 计算每个字符出现的次数且打印 3 /// 4 /// 5 public void CharCount(string str) 6 { 7 Dictionary dicCount = new Dictionary(); 8 str = str.ToLower(); 9 foreach (char item in str.ToCharArray())10 {11 ... 阅读全文
posted @ 2013-11-02 23:55 徽州猿人 阅读(248) 评论(0) 推荐(0) 编辑