How to convert 2222 into hexadecimal or 5GH convert into number?
Rathrola Prem Kumar
int intValue = 2222; // Convert integer 182 as a hex in a string variable string hexValue = intValue.ToString("X"); // Convert the hex string back to the number int intAgain = int.Parse(hexValue, System.Globalization.NumberStyles.HexNumber);