Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

c#; Type conversion

I have s string containing value "25".
In c#, how can I convert this into type int?
[92 byte] By [rkbnair] at [2007-11-11 7:18:13]
# 1 Re: c#; Type conversion
int i = Int32.Parse(s);
Phil Weber at 2007-11-11 21:49:15 >