Last active
August 29, 2015 14:16
-
-
Save brenopolanski/038726fedf2967f27d62 to your computer and use it in GitHub Desktop.
Conversion hexadecimal to binary in CSharp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String valHexadecimal = "85C32"; | |
String valBinary = Convert.ToString(Convert.ToInt32(valHexadecimal, 16), 2); | |
// valBinario equals >> 10000101110000110010 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment