A class is a data structure that may contain data members (constants and
fields), function members (methods,
properties, events, indexers, operators, instance constructors,
destructors, and static constructors), and nested
types. Class types support inheritance, a mechanism whereby a derived class
can extend and specialize a base
class.
fields), function members (methods,
properties, events, indexers, operators, instance constructors,
destructors, and static constructors), and nested
types. Class types support inheritance, a mechanism whereby a derived class
can extend and specialize a base
class.
类结构与继承机制
本文介绍了类作为一种数据结构,包含了各种成员如数据成员和函数成员等,并深入探讨了类类型如何通过继承机制来扩展和特化基类。
337

被折叠的 条评论
为什么被折叠?



