what is accessspecifier and explation each with example?
Answers were Sorted based on User's Feedback
Answer / chaithanya.a
These are also modifiers used to define scope of a type as
well as their members i.e who can access them who can't
c#supports 5 types
1.private
2.internal
3.protected
4.protected internal
5.public
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / pranoti moghe
There are basically 5 access specifiers in .net...
Public - meaning members can be accessed from anywhere..even outside the assembly...
Private - meaning members cannot be accessed outside a class..
Protected - meaning members can be accessed in that class and to the derived classes....
Protected internal
Internal
| Is This Answer Correct ? | 2 Yes | 0 No |
Which namespaces are necessary to create a localized application?
What is the components of window?
What are Indexers in C#?
0 Answers SwanSoft Technologies,
What is a delegate, why should you use it and how do you call it ?
What is difference between class and interface in c#?
write a program to find the biggest palindrome in the given string
One start and stop button is there and one textbox is there.when you click start button ,it will display 1,2,3......up to infinite in textbox.when you click stop button it will stop.
What?s the difference between System.String and System.StringBuilder classes?
Can list contain duplicates c#?
What is desktop GUI application?
What are the ways to deploy an assembly?
What is throw in c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)