Click here to Skip to main content
15,917,059 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello
i want to convert string to int,
but i don't want to work with Convert.Toint32

please help me for converting
Posted
Comments
Ankur\m/ 26-May-10 2:21am    
And why don't you want to use Convert.ToInt32 ?
#realJSOP 26-May-10 5:21am    
Because it's probably a homework assignment...

1 solution

Try Int32.Parse() or Int32.TryParse()
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900