What is the use of protected in c#?
Answer / Parvez Ameen
The 'protected' keyword in C# is used to provide access to a member (method, property, field) within its own class and from any derived classes. It means that the member can be accessed by the class itself and all the classes that inherit from it.
| Is This Answer Correct ? | 0 Yes | 0 No |
Is c# used for frontend or backend?
Why do we need interfaces?
windows c# using datagridview in edit form sql server
What is an assembly qualified name? Is it a filename? How is it different?
what is object-oriented programming (oop) language?
What do you mean by serialization in .NET?
How can you sort strings in array that are passed to method as arguments?
What is the default value of date?
Example of value type and refarnce type
Explain the access modifiers in c#?
What are the different types of constructors in c#?
Why are local variables stored in stack?
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)