There is a string
string a = "0x1234";
Need to convert to
int a = 0x1234
Help please.
Answer 1, Authority 100%
You can use the Convert. TINT32
With the base of the number system:
int i = convert.toint32 (a, 16);
There is a string
string a = "0x1234";
Need to convert to
int a = 0x1234
Help please.
You can use the Convert. TINT32
With the base of the number system:
int i = convert.toint32 (a, 16);
Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.