Interviews11 answers
What is the default access for a class?
11 Answers
internal
Ashutosh DwibediPosted Nov 10, 2023, 3:11 AM EST
default access modifier of class is private
p khotPosted Mar 12, 2021, 11:16 AM EST
fsfa
srikanth ReddyPosted Jan 31, 2020, 7:33 PM EST
internal
Sandeep JadhavPosted Jan 24, 2020, 11:42 AM EST
Default access provider at namespace level is internal and else within class or other methods it private .
You can create sample console application to test this .
Afshan KhanPosted Feb 23, 2018, 12:37 AM EST
Internal
hari KrishnanPosted Dec 22, 2017, 3:16 AM EST
By default a class is internal in c#
Amit VermaPosted Dec 15, 2017, 8:00 AM EST
By default a class is internal in c#
Amit VermaPosted Dec 15, 2017, 8:00 AM EST
By default a class is internal in c#
Amit VermaPosted Dec 15, 2017, 8:00 AM EST
Public
Mukesh KumarPosted Aug 31, 2017, 6:00 AM EDT
Default access specifier for a class type is internal.
Bhuvanesh MohankumarPosted May 8, 2016, 9:37 AM EDT



