How to Convert String to Integer without using any BuiltIn Functions ?

Showing Answers 1 - 3 of 3 Answers

shakeelkhan

  • Nov 26th, 2007
 

The easiest way to convert string to integer with boxing and inboxing
e.g
private string a = "10";
private int b;

try{
 b = (int)a;
}
catch{
}

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions