// Store integer 182int intValue = 182;// Convert integer 182 as a hex in a string variablestring hexValue = intValue.ToString("X");// Convert the hex string back to the numberint intAgain = int.Parse(hexValue, System.Globalization.NumberStyles.HexNumber);来自http://www.geekpedia.com/KB8_How-do-I-convert-from-decimal-to-hex-and-hex-
to-decimal.html



