.NET Nested Classes

后端 未结 3 744
粉色の甜心
粉色の甜心 2021-01-24 07:25

The current class library I am working on will have a base class (Field) with over 50 specific \"field\" types which will inherit from \"Field\" and nested for maintain readabil

3条回答
  •  南方客
    南方客 (楼主)
    2021-01-24 07:56

    FieldA inherits a reference to class FieldA which inherits a reference to class FieldA which inherits a reference to class FieldA which inherits a reference to class FieldA which inherits a reference to class FieldA which inherits a reference to class FieldA which inherits a reference to class FieldA which...

    It works because that's what you told it to do.

提交回复
热议问题