[Solved] switch case statment in C# with hex values

[ad_1]

Of course you can. “Hex Values” is merely a notation for an integral type, which is a valid case label in a C# switch block.

Excepting the follow-through nature of a switch block – which you are obviating with break statements – the order of the case labels does not matter.

[ad_2]

solved switch case statment in C# with hex values