摘要: _dic = _dic.OrderByDescending(x => x.Value).ToDictionary(x=>x.Key,x=>x.Value); var Num = _dic.ToList().Take(5).Select(a => a.Key.ToString()).ToArray() 阅读全文
posted @ 2016-09-09 14:20 会弹猫的吉他 阅读(3466) 评论(0) 推荐(0)
摘要: //过滤\n 转换成空 String withoutNString=message.Replace("\n", ""); //过滤\r 转换成空 String withoutRString = withoutNString.Replace("\r", ""); //过滤\t 转换成空 String  阅读全文
posted @ 2016-09-09 13:12 会弹猫的吉他 阅读(3622) 评论(0) 推荐(0)