Currently Browsing Category 'hexadecimal'

Define a Hexadecimal number in C#

by Joseph on Dec 12th in C#, hex, hexadecimal, integer, literal hex

This one took me a bit of searching… To represent a literal hex number (i.e. “FF”), is like this:int h = 0xFF;Preface the hex # with a “0x” and it treats it as hex. Much like C++ actually…

Powered By Wordpress Designed By Ridgey