摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Collections;using System.Threading;namespace ThreadApp{ class Program { private static int item = 0; [STAThread]//该特性一般用来标志程序的入口函数,对于一般的方法设置没有任何的影响,如下面输出的结果 private static void D... 阅读全文
posted @ 2013-04-06 21:14 Predator 阅读(275) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Dynamic;//添加引用命名空间namespace ConTest{ class Dynamic { public static void Main() { dynamic person = new ExpandoObject(); person.Name = "ganquanfu"; person... 阅读全文
posted @ 2013-04-06 12:35 Predator 阅读(231) 评论(0) 推荐(0) 编辑