What is the use of inner class in C#?

The inner class can access any non-static member that has been declared in the outer class . 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).

Sizin İçin Seçtik  What is the need of abstract class in C ++?

Leave a Reply

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