摘要: 1、临界区2、互斥3、事件4、线程池 阅读全文
posted @ 2012-05-22 14:36 Neoyee 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 1.private static string ConvertExtendedAscii(string html){ StringBuilder sb = new StringBuilder(); foreach (var c in html) { int charInt = Convert.ToInt32(c); if (charInt > 127) sb.AppendFormat(“&#{0};”, charInt); else sb.Append(c); } return sb.ToString(... 阅读全文
posted @ 2012-05-22 09:38 Neoyee 阅读(196) 评论(1) 推荐(0) 编辑
哈哈哈哈