What are the access-specifiers available in c#?
Answer Posted / archana
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. private - The member is only accessible by other members
within the type it originates from.
| Is This Answer Correct ? | 52 Yes | 65 No |
Post New Answer View All Answers
What is datasource c#?
What is the property of class?
Is a games console a computer?
Why do we use classes?
What is hashtable in c# net with example?
Suppose you have already existing application with Visual Studio 6 (VB 6, InterDev 6) and this application utilizes Windows 2000 COM+ transaction services. With this example how can you approach migrating this application to .NET?
How many types of variables are there in c#?
What is final keyword in c#?
What's difference between constants and static readonly?
How can I process command-line arguments?
What does console mean c#?
What is difference between throw and throws in c#?
In which way you can convert a value-type to a reference-type?
What is deadlock in c#?
Why do we need indexer in c#?