interviews.dotnetthread.com

↑ Grab this Headline Animator

Tuesday, September 16, 2008

What are the different Access Modifiers a nested class can have?

Actually A normal class can have access modifiers as public and internal.

By default access modifier for a class is Internal

However a nested class(Class inside a Class) can also have Private as Access modifier, and scope is limited to the containing Class.

Submit this story to DotNetKicks

No comments:

Post a Comment

Post your comments/questions/feedback for this Article.

 

Latest Articles