In addition to supporting explicit conversion , the . net framework provides several methods to convert between types in the 除了支持显式转换, . net framework还提供了几种方法,用于在
Large - value data types exhibit the same implicit and explicit conversion behavior as their smaller counterparts , specifically the 大值数据类型表现出与小值数据类型相同的隐式和显式转换行为,特别是
However , when the same conversion is performed using explicit conversion in c , the values to the right of the decimal are lost 值时,将执行四舍五入。但是,使用显式转换在c #中执行同一转换时,小数点右边的值将丢失。
Although most languages that target the common language runtime support explicit conversion , the exact mechanism differs from language to language 虽然大多数针对公共语言运行库的语言都支持显式转换,但实际的机制却因语言而异。
Supplying a value in a sql server system data type , as long as the user - defined type supports implicit or explicit conversion from that type 提供sql server系统数据类型的值,条件是该用户定义类型支持该类型的隐式转换或显式转换。