【发布时间】:2012-10-03 19:17:36
【问题描述】:
可能重复:
what does |= (single pipe equal) and &=(single ampersand equal) mean in c# (csharp)
这是使用它的上下文:
long dirtyFlag = 0x0000;
if (erd.SupervisorCompType != orgErd.SupervisorCompType) // change has been made?
{
dirtyFlag |= 0x0001;
// etc...
}
【问题讨论】:
标签: c#