answersLogoWhite

0

What are different access specifiers in c sharp?

Updated: 8/18/2019
User Avatar

Shirazahmad

Lvl 1
13y ago

Best Answer

public

private

internal

protected

internal protected

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are different access specifiers in c sharp?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are the access specifiers in c?

Satya


Explain the different access storage specifiers available in c?

The storage class specifiers in C and C++ are:autoexternmutableregisterstatictypedefA storage class specifier is used to refine the declaration of a variable, a function, and parameters


What do you mean by access specifier in c?

There are no access specifiers in C. All functions and data are public.


Why the format specifiers are not used in cpp?

You might be wrong: printf and scanf are usable in C++ just as in C. With format specifiers.


Are the private access specifiers in Java and C plus plus the same?

No.In Java, the private access modifier restricts member access to the class in which the member is declared. But in C++, private members are also accessible to friends of the class in which they are declared. The rough equivalent in Java would be package private access.Not that Java doesn't have access specifiers, it has access modifiers. When no modifier is specified, default access is implied, which is package private for classes and public for interfaces.


What are the access control specifiers used in c plus plus?

The access control specifiers in C++ are...public - to denote that the member is accessible from any in scope codeprivate - to denote that the member is accessible only from within the containing classprotected - the same as private, except that derived classes are includedPrivate is the default for a class type object, while public is the default for a structure type object.


What is a default access specifier for variable in c sharp?

Default access specifier in c# is private. if you don't specify it automaticaly takes it as private.


Does c sharp work on c or c plus plus compilers or you need a c sharp compiler?

They are different languages, each of them requires its own compiler.


What are the different types of format specifiers in c?

format specifier also called as control specifier or variable formatters. format string also called arguments.


What are the different notes?

a flat( or g sharp),a, b flat( or a sharp), b, c flat (or b sharp), c, c sharp (or d flat), d, e flat (or d sharp), e, f flat( or e sharp), f, f sharp ( or g flat)and g.


What are the different musical?

a flat( or g sharp),a, b flat( or a sharp), b, c flat (or b sharp), c, c sharp (or d flat), d, e flat (or d sharp), e, f flat( or e sharp), f, f sharp ( or g flat)and g.


Where is c class made?

The C language does not support classes, per se, like the C++ language does. The closest the C language comes to a class is in the typdef struct... typdef struct _myClass { ... ... }; myClass; But you won't have any methods, inheritance, polymorphism, operator overloading, access specifiers, etc. like you do in C++.