1
Reply

How to convert 2222 into hexadecimal or 5GH convert into number?

Rathrola Prem Kumar

Rathrola Prem Kumar

Jan 07, 2017
548
0

    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);

    Rathrola Prem Kumar
    January 07, 2017
    0