Tag Archives: binary

Convert bases decimal, hexadecimal, octal, and binary in C#

It’s easy to convert bases if you use the Convert class’s ToInt64 and ToString methods. For example, the following statement parses the text in the TextBox named source and saves the result in the long variable value. The “16” means … Continue reading

Posted in mathematics, parsing | Tagged , , , , , , , , , , , | 6 Comments