我經常看這樣的代碼:什麼是「|」意味着在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