thread t=new thread(new threadstrat(countdown()));
if ((t.threadstate&threadstate.aborted)==threadstate.aborted)
console.write("aborted");
if((t.threadstate&threadstate.background)==threadstate.background)
console.write("background");........
我知道t.threadstate是返回t线程的状态他有10个值(unstarted running waitsleepjoin ....)
但这里的t.threadstate&threadstate.aborted是什么意思?? == 右边的t.threadstate&threadstate.aborted又是什么意思? 为什么不是t.threadstate==threadstate.aborted??? 还有每次输入关键字开头要大写有的中间也要大写,如何利用快捷键直接显示关键字(如:console)我是初学者见笑了
if ((t.threadstate&threadstate.aborted)==threadstate.aborted)
console.write("aborted");
if((t.threadstate&threadstate.background)==threadstate.background)
console.write("background");........
我知道t.threadstate是返回t线程的状态他有10个值(unstarted running waitsleepjoin ....)
但这里的t.threadstate&threadstate.aborted是什么意思?? == 右边的t.threadstate&threadstate.aborted又是什么意思? 为什么不是t.threadstate==threadstate.aborted??? 还有每次输入关键字开头要大写有的中间也要大写,如何利用快捷键直接显示关键字(如:console)我是初学者见笑了
解决方案 »
- mongodb数据库查询前10条数据
- c# winform 程序对XML问价加密解密
- public static IEnumerable SimpleList() 提示错误IEnumerable 是命名空间。但此处当作类型使用
- 一个ACCESS数据库 能插入、删除,但是不能更新
- 求助 导出问题!!!!
- .net 中有Internet Transfer Control控件吗?我怎么找不到阿
- 请问如何才能知道某软件是什么语言编写的啊?
- C#生成注册COM+,可由PHP调用【自己解决 科普+散分】
- 在IE里面使用过WinFrom控件的请进!
- 如何按照比例显示图片?随时在线
- 如何在窗体间传递对象? 高分在线等
- 关于框架脚本代码,好奇怪的问题???应该比较简单的,奇怪!!!
http://blog.csdn.net/ChengKing/category/160892.aspx文章里面有详细的解释