一般来说,类中标注了static的函数与变量能在类外直接引用,比如说: String M_string1 =CompanyEmployee.GetCompanyName(M_string2) 而没有标注static的函数则必须声明一个类的实体,有实体来引用。比如说: static class CompanyEmployee { public string GetCompanyName(string name) { ... } //没有Static public static string GetCompanyAddress(string address) { ... } } CompanyEmployee M_CompE = new CompanyEmployee() String M_string1 =M_CompE.GetCompanyName(M_string2) |