Hi friends ,
I want to know that i have a character string and i want to convert it into int then how it is possible to convert please explain?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Posted Jan 16, 2012, 2:02 PM
VulpesPosted Jan 16, 2012, 1:59 PM
Posted Jan 16, 2012, 1:08 PM
Please explain the string to int convertion in detail.
VulpesPosted Jan 16, 2012, 12:03 PM
However, you can convert a single char into an int:
char c = 'A';
int i = (int)c;
Console.WriteLine(i); // 65