// Convert the number expressed in base-16 to an integer.
string hex = “0x60”;
int value = Convert.ToInt32(hex, 16);
十六进制字符串转换成十进制数
最新推荐文章于 2023-11-21 15:50:41 发布
// Convert the number expressed in base-16 to an integer.
string hex = “0x60”;
int value = Convert.ToInt32(hex, 16);