There is more than one way to convert from one base type to another. As part of the .NET Framework class library, in the System namespace, a number of static methods are found in the Convert class. These include Convert.ToDouble( ), Convert.ToDecimal( ), Convert.ToInt32( ), Convert.ToBoolean( ), and Convert.ToChar( ). Used like the Parse( ) method, they convert data from one base type to another base type.

Popular posts from this blog

ch11 review silberschatz operating systems concepts essentials 2nd ed