var

 private var a = 10;

var 不能用于字段数据;

var int;

int =10;

var 不能先声明后赋值;

原文地址:https://www.cnblogs.com/Fred1987/p/5557884.html