Convert.ToInt32(7b, 16);
//Convert.ToInt32(7b, 16); string hexValue = "7b"; //First way int decValue = int.Parse(hexValue, System.Globalization.NumberStyles.HexNumber); //second way int decValue2 = Convert.ToInt32(hexValue, 16);
Convert.ToInt32("7b", 16);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)