我经常看这样的代码:什么是“|”意味着在C#编程?
System.Diagnostics.DebuggableAttribute.DebuggingModes.DisableOptimizations | System.Diagnostics.DebuggableAttribute.DebuggingModes.EnableEditAndContinue | System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | System.Diagnostics.DebuggableAttribute.DebuggingModes.Default)
在C#程序中,有时参数是这样,这是什么meanning?
我已经从谷歌搜索,但没有有价值的答案,'|'在Google引擎中不能进行属性解析,也许我在搜索时使用了错误的方式。
当|被用作||它是OR运算符,在这里它用作枚举值 – donstack
请参见[msdn](http://msdn.microsoft.com/ru-ru/library/kxszd0kx.aspx) – Grundy