I want to convert the string value to int value, so I tried these things:
// 1.
string a = "4163";
int b = int.Parse(a);
// 2.
int intValue;
int.TryParse(a, out intValue);
// 3.
int b = Convert.ToInt32(a);
but always my output looks like this:
It always writes 0x00001043
, but I need 4163
as output. What is the wrong with my code?