📜  十六进制字符串到 int c# 代码示例

📅  最后修改于: 2022-03-11 14:48:56.987000             🧑  作者: Mango

代码示例2
string prefixedHex = "0x142CBD";
// this works, and returns 1322173
int intValue = Convert.ToInt32(prefixedHex , 16);