private static int SubHex(string hex, string hex2) { return (int)(Convert.ToInt64(hex, 16) - Convert.ToInt64(hex2, 16)); }