Default Access Modifiers In C#


  • 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

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.