Interviews22 answers
22 Answers
no namespace is required for access specifier
Rishi MalviPosted Mar 27, 2014, 4:06 AM EDT
internal
for other types refer following link
http://sandeepmhatre.blogspot.com/2013/04/access-specifier-in-c.html
Sandeep MhatrePosted Apr 23, 2013, 5:15 AM EDT
internal
for other types refer following link
http://sandeepmhatre.blogspot.com/2013/04/access-specifier-in-c.html
Sandeep MhatrePosted Apr 23, 2013, 5:15 AM EDT
internal
for other types refer following link
http://sandeepmhatre.blogspot.com/2013/04/access-specifier-in-c.html
Sandeep MhatrePosted Apr 23, 2013, 5:15 AM EDT
internal
for other types refer following link
http://sandeepmhatre.blogspot.com/2013/04/access-specifier-in-c.html
Sandeep MhatrePosted Apr 23, 2013, 5:15 AM EDT
internal
for other types refer following link
http://sandeepmhatre.blogspot.com/2013/04/access-specifier-in-c.html
Sandeep MhatrePosted Apr 23, 2013, 5:15 AM EDT
Namespace will not have access modifier.
Raghavendra UPosted Mar 19, 2013, 8:52 PM EDT
private
keerthi rakasiPosted Feb 28, 2013, 6:22 AM EST
private
keerthi rakasiPosted Feb 28, 2013, 6:22 AM EST
Internal if it is directly declared inside namespace.
Private if it is nested.
Here's some explanation:
Classes and structs that are declared directly within a namespace (in other words, that are not nested within other classes or structs) can be either public or internal. 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. The access level for class members and struct members, including nested classes and structs, is private by default. Private nested types are not accessible from outside the containing type.
Jaya KukudkarPosted Feb 26, 2013, 8:10 AM EST
Internal if it is directly declared inside namespace.
Private if it is nested.
Here's some explanation:
Classes and structs that are declared directly within a namespace (in other words, that are not nested within other classes or structs) can be either public or internal. 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. The access level for class members and struct members, including nested classes and structs, is private by default. Private nested types are not accessible from outside the containing type.
Jaya KukudkarPosted Feb 26, 2013, 8:10 AM EST
Jaya KukudkarPosted Feb 26, 2013, 8:10 AM EST
internal
Lalit RanaPosted Feb 11, 2013, 4:11 AM EST
Private
Koteeswaran LakshmikanthPosted Jan 30, 2013, 4:57 AM EST
Private
Giri BirnurkarPosted Jan 24, 2013, 2:50 AM EST
In c#.net by default access specifier is internal.......
Atulya PandaPosted Jan 10, 2013, 8:00 PM EST
public
Anil KumarPosted Jan 4, 2013, 8:14 PM EST
Private
Santosh PavanKumarPosted Dec 18, 2012, 10:48 PM EST
Internal
Sunil KumarPosted Dec 17, 2012, 8:47 PM EST
Public
Rajesh GonuguntaPosted Dec 16, 2012, 10:51 PM EST
internal
masthan pPosted Dec 2, 2012, 12:41 AM EST


