Connecting Tech Pros Worldwide Forums | Help | Site Map

How to transfer Hex to Bin in C#?

Newbie
 
Join Date: Aug 2009
Posts: 1
#1: Aug 23 '09
Hi all;

I want to transfer a 32-bit Hex number to bin, but how to do that in C#?

For example:

1231ABCD<--Hex

to

0001 0010 0011 0001 1010 1011 1100 1101

thank you so much :)

Familiar Sight
 
Join Date: Jul 2009
Location: Calgary, Alberta, Canada
Posts: 232
#2: Aug 23 '09

re: How to transfer Hex to Bin in C#?


Found this on a google search... the C# conversion functions handle most everything you need :)

http://alperguc.blogspot.com/2008/11...ry-string.html

Good luck!
Reply


Similar C# / C Sharp bytes