const 字段为编译时常数,而 readonly 字段可用于运行时常数 转载于:https://www.cnblogs.com/ChenShuHan/archive/2010/07/03/Readonly-Const.html