const: compile time初始化,效率高,属于类(所以不用加static)的常量,只能用常数来给它赋值。 readonly:runtime初始化,效率没有const高,如果前面加上了static,那么 ...
確定! 回上一頁