摘要: 阅读全文
posted @ 2014-11-22 17:54 cnbwang 阅读(77) 评论(0) 推荐(0) 编辑
摘要: Server Side Code:class Program { static void Main(string[] args) { TcpListener tcpListener = new TcpListener(IPAddress.Loo... 阅读全文
posted @ 2014-04-14 08:50 cnbwang 阅读(89) 评论(0) 推荐(0) 编辑
摘要: class BridgePattern { public static void Main() { IReport reportMonthly = new MonthlyReport(); IReport reportYearly = new YearlyReport(); ReportChart reportChart = new ColumnReportChart(); reportChart.SetReport(reportMonthly); ... 阅读全文
posted @ 2014-04-12 15:03 cnbwang 阅读(190) 评论(0) 推荐(0) 编辑
摘要: /// /// using this pattern, the concrete element such as Family or Team is supposed to be stable, /// and the count of the total elements should be stable as well. /// Concrete visitor such as CompeteNotice or FeeCharge, may be extendable. For instance, we /// can add a GroupPrinca... 阅读全文
posted @ 2014-04-12 09:45 cnbwang 阅读(248) 评论(0) 推荐(0) 编辑
摘要: Introduce a questionConsider the follow code snippet: 1 class Program 2 { 3 static int _hours = 0; 4 5 static void Main(string[] args) 6 { 7 var tasks = new Task[2]; 8 for (int i = 0; i < tasks.Length; i++) 9 {10 tasks[... 阅读全文
posted @ 2014-04-08 12:29 cnbwang 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 1. Why the object file is needed? Why the sections in object file is needed? 阅读全文
posted @ 2013-07-04 06:55 cnbwang 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 220 163.com Anti-spam GT for Coremail System (163com[20121016])ehlo xxx321502 Error: command not implementedehlo xxx321@163.com250-mail250-PIPELINING250-AUTH LOGIN PLAIN250-AUTH=LOGIN PLAIN250-coremail 1Uxr2xKj7kG0xkI17xGrU7I0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2UFGpUTzUCa0xDrUUUUj250-STARTTLS250 8BITMIMEau 阅读全文
posted @ 2013-03-24 19:40 cnbwang 阅读(363) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head> <title></title> <script> function EventObject() { var eventRepository = {}; this.attach = function (eventName, handler) { eventRepository[eventName] = eventRepository[eventName] || []; ... 阅读全文
posted @ 2013-03-21 08:31 cnbwang 阅读(163) 评论(0) 推荐(0) 编辑
摘要: btnSave Button1 Button2the code is as follows:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <title></title> <scr 阅读全文
posted @ 2013-03-13 23:21 cnbwang 阅读(164) 评论(0) 推荐(0) 编辑
摘要: estimation estimation estimation estimationvvvvvv aa bb ddd ffff aaaaaa dddd aaa ffffestimationestimationestimationestimationestimation<title></title><script language="javascript" type="text/javascript">// <![CDATA[ function Button1_onclick() { var obj = g(&q 阅读全文
posted @ 2011-08-25 08:44 cnbwang 阅读(261) 评论(1) 推荐(0) 编辑