类型转换1.任何类型都可以转换为其基类类型,用隐式转换完成;2.任何类型转换为其派生类型时,必须进行显示转换。如:(类型名)对象名;3.使用GetType可以取得任何对象的精确类型;4.基本类型可以使用Convert类实现类型转换;5.除了string以外的其他类型都有Parse方法,用于将字符串类型转换成对应的基本类型;6.值类型和引用类型的转换称为装箱(boxing)或拆箱(unboxing);