前者适合将object类类型转换成int类型

(int)适合简单数据类型之间的转换;

int.Parse适合将string类类型转换成int类型。
 posted on 2018-04-07 13:26  絆τ  阅读(385)  评论(0编辑  收藏  举报