User Tools

Site Tools


notes:csharp:enums

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
notes:csharp:enums [2020/06/15]
leszek [Enum Values as Bit Flags]
notes:csharp:enums [2020/06/15] (current)
leszek [Enum Values as Bit Flags]
Line 129: Line 129:
 { {
     // An enum that uses the [Flags] attribute should always set the None value to 0.     // An enum that uses the [Flags] attribute should always set the None value to 0.
 +    // It means "the absence of all flags"​.
     None = 0x00,     None = 0x00,
     Header = 0x01,     Header = 0x01,
notes/csharp/enums.txt ยท Last modified: 2020/06/15 by leszek