dynamic与var

var 在编译阶段就已经确认了类型

dynamic 在编译阶段不路过检查,运行时会检查

posted @ 2018-04-27 17:30  完美xtide  阅读(106)  评论(0编辑  收藏  举报