Visibility of nester class constructor

Posted by user295502 on Stack Overflow See other posts from Stack Overflow or by user295502
Published on 2010-04-29T11:24:36Z Indexed on 2010/04/29 11:37 UTC
Read the original article Hit count: 495

Is there a way to limit the instantiation of the nested class in C#? I want to prevent nested class being instantiated from any other class except the nesting class, but to allow full access to the nested class from other code.

© Stack Overflow or respective owner

Related posts about c#

Related posts about nested-class