What is Internal access modifier in C#?

 Posted by Poster on 3/29/2009 | Category: OOPS Interview questions | Views: 18802

The internal keyword is an access modifier for types and type members ie. we can declare a class as internal or its member as internal. Internal members are accessible only within files in the same assembly (.dll). In other words, access is limited exclusively to classes defined within the current project assembly.

For more details see http://msdn.microsoft.com/en-us/library/7c5ka91b(VS.71).aspx

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response