You use static members of the Convert class found in the System namespace to handle conversions in the .NET framework.
string s = '45';
int h = Convert.ToInt32(s);
double d = Convert.ToDouble(s);
You use static members of the Convert class found in the System namespace to handle conversions in the .NET framework.
string s = '45';
int h = Convert.ToInt32(s);
double d = Convert.ToDouble(s);
Fax: +1 919.573.0306
US: +1 919.481.1974
UK: +44 20 7084 6215
Toll Free (USA):
1-888-9DOTNET
Share with