What is the scope of a class nested inside another class in C#?

Scope of a nested class is limited by the scope of its (outer) enclosing class . If nothing is specified, the nested class is private (default). Any class can be inherited into another class in C# (including a nested class). The user can inherit a nested class from outer class.5 Ara 2019

Sizin İçin Seçtik  Can inner classes access private members?

Leave a Reply

Your email address will not be published. Required fields are marked *