摘要: 1.字符转二进制 1 public static string ChineseToBinary(string s) 2 { 3 byte[] data = Encoding.Unicode.GetBytes(s); 4 StringBuilder result = new StringBuilder 阅读全文
posted @ 2015-08-24 15:39 刘小吉 阅读(8827) 评论(0) 推荐(0) 编辑
摘要: 1.网友提供代码 1 private static decimal getNear(List num, decimal target) 2 { 3 List c = new List(); 4 foreach (var ... 阅读全文
posted @ 2015-08-24 14:58 刘小吉 阅读(317) 评论(0) 推荐(0) 编辑