我想将字符串值转换为int值,所以我试过这些东西:
// 1.
string a = "4163";
int b = int.Parse(a);
// 2.
int intValue;
int.TryParse(a, out intValue);
// 3.
int b = Convert.ToInt32(a);
Run Code Online (Sandbox Code Playgroud)
但总是我的输出看起来像这样:

它总是写0x00001043,但我需要4163作为输出.我的代码有什么问题?