I always wonder if it is possible to have a private class? And, what would be the point of having such class?
Thanks for helping.
You can have a private class, inside another class.
You may use a private class to encapsulate logic and implementation. For example you can declare an implementation of an iterator in your implementation of ICollection.