how we can use one class, which is inside into another class as property? i want only theoratical explanation and one small example.
You mean a nested class used as a type of a property? As long as the access modifier of the property is at most as restrictive as the type of the property, you can do this.
Simply, you should be able to access the type if you can see the property.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With