What are the access-specifiers available in c#?
Answer Posted / ranganathkini
The access-specifiers available in C# are:
1. public - The member can be accessed from anywhere
2. internal - The member can only be accessed from type it
originates from or other types in the same assembly
3. protected - The member can only be accessed from the type
it originates from or from detrieved types of the
originating type
4. protected internal - implies protected OR internal ( not
protected AND internal )
5. private - The member is only accessible by other members
within the type it originates from.
| Is This Answer Correct ? | 238 Yes | 33 No |
Post New Answer View All Answers
Assembly Code. in Rejester AL. How do Contast Replece( or Change): Bit D3 With Bit D4 and Bit D2 With Bit D5 and Bit D1 With Bit D6 and Bit D0 With Bit D7 I am Not Know Very Well Write English.
Explain about CTS?
Explain the Different types of configuration files in .net?
Is goto statement supported in c#?
Explain use of abstract and sealed classes in c#?
Is there any sample c# code for simple threading?
How do I create a dbml file?
What is Satellite Assemblies ?
What does dbml stand for?
Can an exception be thrown from a catch block?
What is dataadapter c#?
What is the diff between System.String and System.Text.StringBuilder classes?
What is managed code?
What is the advantage of constructor in c#?
What is linq c#?