num1 >= 0x80 – What is 0x80?

It is an integer literal – it’s the hex number 80, which is decimal 128. The “0x” prefix indicates it being in hex.

For more details, look at the section 2.4.4.2 of the C# language specification: “Integer literals”.

Leave a Comment