private static SubHex ( string hex, string hex2 ) : int | ||
hex | string | A string value representing a hexadecimal number |
hex2 | string | A string value representing a hexadecimal number |
return | int |
private static int SubHex(string hex, string hex2)
{
return (int)(Convert.ToInt64(hex, 16) - Convert.ToInt64(hex2, 16));
}