I have found this enum
with a Flags
attribute:
[Flags]
public enum Technology
{
None = 0x0000,
X1 = 0x0001,
X2 = 0x0002,
X3 = 0x0004,
X4 = 0x0008,
X5 = 0x0010,
X6 = 0x0020,
}
The values assigned to the enum
members, what spelling is it?
And would that be the same?
[Flags]
public enum Technology
{
None = 0,
X1 = 1,
X2 = 2,
X3 = 4,
X4 = 8,
X5 = 10,
X6 = 20,
}
If yes, why is X5
not 16 twice the value from X4
, because that logic takes place from X1
to X4
!