Showing posts with label access modifiers in c#. Show all posts
Showing posts with label access modifiers in c#. Show all posts

Default Access Modifiers in C#

top level class: internal

method: private

members (of class): private (including nested classes)

members (of interface or enum): public

constructor: private (note that if no constructor is explicitly defined, a public default constructor will be automatically defined)

delegate: internal

interface: internal

Read more...