I was about to write a method that checked to see if a character was a hexadecimal value when it occurred to me that I should google for it. I was going to name it IsHexDigit, and googling for that revealed this link. I’m not sure why it’s in the System.Uri class, but it’s less code for me to write.