What I need is to make sure that in most scenarios objects are used via "readonly interface", which is a subset of the full interface.
- If I were in C++, I would just return a const object, for instance.
- If I could use interfaces, I would just implement a readonly interface and use it everywhere, however, I need operator overloading, which is not allowed for interfaces, that's why I have to use abstract base class.
- But if I define abstract base class, I am not allowed to change accessibility in the derived type..
Any ideas? Thanx