摘要:
operatoroperator 关键字用于在类或结构声明中声明运算符。运算符声明可以采用下列四种形式之一:public static result-type operator unary-operator ( op-type operand )public static result-type operator binary-operator ( op-type operand, op-type2 operand2 )public static implicit operator conv-type-out ( conv-type-in operand )public static expl 阅读全文
posted @ 2012-03-28 22:42
Silence_
阅读(349)
评论(0)
推荐(0)
摘要:
图1: 线程状态关系图你可以通过ThreadState属性获取线程的执行状态。图1将ThreadState列举为“层”。ThreadState被设计的很恐怖,它以按位计算的方式组合三种状态“层”,每种状态层的成员它们间都是互斥的,下面是所有的三种状态“层”:运行 (running) / 阻止 (blocking) / 终止 (aborting) 状态(图1显示)后台 (background) / 前台 (foreground) 状态 (ThreadState.Background)不建议使用的Suspend 方法(ThreadState.SuspendRequested 和 ThreadSta 阅读全文
posted @ 2012-03-28 22:26
Silence_
阅读(243)
评论(0)
推荐(0)

浙公网安备 33010602011771号