3 ms·
In C#, nested classes are effectively friends with their outer class, and it's used quite often in practice. On the other end of expressivity, in Eiffel, every
by int_19h 4y ago
In C#, nested classes are effectively friends with their outer class, and it's used quite often in practice.
On the other end of expressivity, in Eiffel, every class member is declared as visible to specific other classes; if you want something to be public, you say that it's visible to ANY, which is the universal base class similar to e.g. Object in Java.