54
Reply

What is the default access modifier for a Class in C#?

Deepak Garg

Deepak Garg

Mar 21, 2015
13.8k
0

    Default access modifier of class is Internal. And private for class member.

    Madhuri Mishra
    May 01, 2015
    10

    Default access modifier of class is Internal and private for class member.

    Upendra Pratap Shahi
    September 04, 2015
    2

    Default access modifier:-For class: internalFor class members: private

    Sujeet Suman
    June 18, 2015
    2

    Default access modifier of class is Internal. And private for class member.

    Shihabudheen K. H.
    June 05, 2015
    2

    Default Access Modifier Of Class is Private....

    Shaik Abdul Kalam
    April 21, 2015
    2

    The internal access specifier hides its member variables and methods from other classes and objects, that is resides in other namespace. The variable or classes that are declared with internal can be access by any member within application. It is the default access specifiers for a class in C# programming.

    remya t
    September 11, 2015
    1

    Default access modifier of class is Internal and private for class member.

    Upendra Pratap Shahi
    September 04, 2015
    1

    Default access modifier of class : Internal Default access modifier of class member: private

    sujesh cs
    June 28, 2015
    1

    Internal for class and private for member function.

    Rahul Prajapat
    May 27, 2015
    1

    For class and struct -- Private For enum and interfaces -- Public

    Piyush chhabra
    May 01, 2015
    1

    Classes are internal by default. Members are private by default.Also, Classes that you declare directly within a namespace, not nested within other classes, can be either public or internal.

    Tushar Dikshit
    September 27, 2017
    0

    Internal is the default access modifier if no access modifier is specified in a class.

    alok sharma
    June 22, 2017
    0

    Internal access modifier

    Vinay K
    March 17, 2017
    0

    ddfd

    karthick
    March 06, 2017
    0

    Internal

    Ayappan Alagesan
    February 12, 2017
    0

    internal

    Munesh Sharma
    May 27, 2016
    0

    Internal is the default if no access modifier is specified.

    Raghvandra Shukla
    April 02, 2016
    0

    Class will be internal and class members will be private

    Akash Varshney
    October 10, 2015
    0

    Default access modifier For class: internal For class members: private..

    Vamsi Krishna
    October 07, 2015
    0

    For Class - Internal For Class Member - Private

    Pawan Chand
    September 17, 2015
    0

    internal

    Ajeet Mishra
    September 03, 2015
    0

    internal

    Ajeet Mishra
    September 03, 2015
    0

    class default access modifier is internal and class members default access modifier is private

    Srinivas Pabballa
    August 28, 2015
    0

    Internal....

    Kundan Jha
    July 31, 2015
    0

    public

    pankaj sharma
    July 31, 2015
    0

    Internal.

    Sachin Kumar
    July 25, 2015
    0

    internal access modifier

    Sreeni Dony
    July 22, 2015
    0

    Default access modifier of a class is internal and private for class members

    sujesh cs
    June 28, 2015
    0

    internal access modifier

    Rakesh kumar
    June 26, 2015
    0

    internal access modifier

    Rakesh kumar
    June 26, 2015
    0

    Private Access Modifier

    Dominique Ceja
    June 20, 2015
    0

    Private Access Modifier

    Dominique Ceja
    June 20, 2015
    0

    It is internal. See link below:- https://msdn.microsoft.com/en-us/library/ms173121.aspx

    Gaurav Jain
    June 18, 2015
    0

    default access modifier of class is internal. See link below:- https://msdn.microsoft.com/en-us/library/ms173121.aspx

    Gaurav Jain
    June 18, 2015
    0

    Default access modifier of class is Internal. And private for class member.

    Shihabudheen K. H.
    June 05, 2015
    0

    internal is by default for class But if you want to provide security then change it

    Amol Sarkate
    June 01, 2015
    0

    Internal

    Mahendra
    May 27, 2015
    0

    private

    Private

    satish kumar
    May 23, 2015
    0

    Internal for class and private for member function.......

    By Default access modifier of Class is 'Internal'. & 'Private' for Data Member n Member Function of Class.

    Internal is the default if no access modifier is specified. Struct members, including nested classes and structs, can be declared as public, internal, or private. Class members, including nested classes and structs, can be public, protected internal, protected, internal, or private.

    Kml Surani
    May 12, 2015
    0

    Internal

    Prashant Koli
    May 12, 2015
    0

    Default Access Modifier of class is Internal

    apurv indapurkar
    May 08, 2015
    0

    If the class is not nested with in another class then its default access modifier is "Internal" otherwise default modifier is "Private"

    Krishnaveni D
    May 08, 2015
    0

    If the class is not nested with in the another class then default Modifier is"Internal" Else "Private"

    Krishnaveni D
    May 08, 2015
    0

    Internal is the default if no access modifier is specified https://msdn.microsoft.com/en-us/library/ms173121.aspx

    LingaReddy Kerali
    May 08, 2015
    0

    Internal

    LingaReddy Kerali
    May 08, 2015
    0

    Private

    Mirza Villayat
    May 05, 2015
    0

    Internal

    Nirav Vasoya
    April 21, 2015
    0

    internal

    Mohan G
    April 20, 2015
    0

    internal

    Debendra Dash
    April 19, 2015
    0

    Internal

    Munesh Sharma
    April 16, 2015
    0

    Internal

    Deepak Garg
    March 21, 2015
    0