December 2008

Currently Browsing Archives For 'December 2008'

Define a Hexadecimal number in C#

by Joe 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