摘要: 线程基础 1. 启动线程的基本语法 在C#中,启动线程主要通过System.Threading.Thread类实现。线程可以执行无参数或带参数的方法,也可以通过lambda表达式定义要执行的代码。 基本语法 启动无参数方法 using System; using System.Threading; 阅读全文
posted @ 2025-08-27 01:24 jessqiu 阅读(15) 评论(0) 推荐(0)