2

Given a string like "5A" I want to get the character represented by that hexadecimal value. In this case, Z. How would I do that?

1 Answer 1

6

How about something like

char charVal = (char)int.Parse("5A", NumberStyles.AllowHexSpecifier);

Not the answer you're looking for? Browse other questions tagged or ask your own question.