convert string to hexadecimal
Obtain the char that corresponds to each value in a hexadecimal string. Convert a hexadecimal string to an int. Convert a hexadecimal string to a float. Convert a byte array to a hexadecimal string. This example outputs the hexadecimal value of each character in a string. First it parses the string to an array of characters. Then it calls ToInt32(Char) on each character to obtain its numeric value.