private : 私有成员, 在类的内部才可以访问。 protected: 保护成员,该类内部和继承类中可以访问。 public: 公共成员,完全公开,没有访问限制。 internal:在同一命名空间内可以访问。