摘要: 在线程编程中,我们都知道一般给线程传递参数的大致有三种方式:1.方式一:使用ParameterizedThreadStart委托如果使用了ParameterizedThreadStart委托,线程的入口必须有一个object类型的参数,且返回类型为void.View Code using System; using System.Threading; namespace ThreadWithParameters { class Program { static void Main(string[] args) { s... 阅读全文
posted @ 2012-04-11 11:35 thickThinker 阅读(5829) 评论(13) 推荐(2) 编辑