Default access modifier for a class is – Internal
Class ABC
{
}
is equivalent to
Internal Class ABC
{
}
Default access modifier for a struct is – Internal
Default access modifier for an Interface is – Public
Default access modifier for a enum is – Public
Default access modifier for a Method is – Private
Default access modifier for a Fields is – Private
Default access modifier for a Property is – Private
No comments:
Post a Comment