Loading...
Engaged Employer
convert strings into int types;
Anonymous
public ConvertStringToInt() { string s = "12345"; int n = 0; for (int i = 0; i < s.Length; i++) n = n * 10 + s[i] - '0'; }
return(Convert.ToInt32(str))
Check out your Company Bowl for anonymous work chats.
Get actionable career advice tailored to you by joining more bowls.
Stay ahead in opportunities and insider tips by following your dream companies.
Get personalized job recommendations and updates by starting your searches.