Where and how to use nested classes? [duplicate]
问题 This question already has answers here : Why/when should you use nested classes in .net? Or shouldn't you? (13 answers) Closed 6 years ago . I am thinking that if a class will be instantiated only in another class so it is right to use it nested in that class.I think this will help us good design.When i look at my project i have almost never seen such nested structure.But if i try to nested classes so this time another questions appear in my mind.For example I have Board class, Move classes