Post your answer

Default Access Modifiers In C#

Posted by Allen

11 Dec, 2011

An enum has default modifier as publicA class has default modifiers as private . It can declare members (methods etc) with following access modifiers:publicprotectedinternalprivateprotected internalAn interface has default modifier as publicA struct has default modifier as private and it can declare its members (methods etc) with following access modifiers:publicinternalprivate