var guid = Guid.NewGuid();Debug.WriteLine(guid.ToString()); //1f3c6041-c68f-4ab3-ae19-f66f541e3209Debug.WriteLine(guid.ToString("N"));//1f3c6041c68f4ab3ae19f66f541e3209Debug.WriteLine(guid
一、join()方法,官方描述 waits for this thread to die 等待当前线程死亡;
源码:
//无参,默认调用join(0)
public final void join() throws InterruptedException {
join(0);
}
//传入两时间millis 毫秒+nanos纳秒,表示等等millis