随笔分类 -  C#

摘要:线程 创建 Thread thread1 = new Thread(Methode); 开始 thread1.Start(); 等待完成 thread1.Join(); 优先级 thread1.Priority=ThreadPriority.Highest;//优先级和线程调度器时间片都会影响顺序 阅读全文
posted @ 2024-12-02 16:53 funtim 阅读(12) 评论(0) 推荐(0)
摘要:加载程序集 Assembly myAssembly = Assembly.LoadFile(@"MyAssembly.dll"); 得到类 foreach (Type t in myAssembly.GetTypes()) 得到类的方法 foreach (var method in t.GetMet 阅读全文
posted @ 2024-11-18 20:05 funtim 阅读(10) 评论(0) 推荐(0)