When you inherit a protected class-level variable, who is
it available to?
Answers were Sorted based on User's Feedback
Answer / raja chandrasekaran
Protected class level variables can be accessed with in the
same class and accessed by the derived classes.Derived
classes can be in different assembly also. Even the
variables are private, it will be derived into the child
class. But the thing is, it is not accessible due to its
protection level.
| Is This Answer Correct ? | 6 Yes | 5 No |
Answer / p.sahoo
Protected Class Variables Are Always Inherited in it's
derived classes.
But in the namespace it confused to me because in a
namespace we can set any type of modifiers.
| Is This Answer Correct ? | 0 Yes | 6 No |
Can properties be static in c#?
How do you implement Inheritance in dot net ?
What is the difference between readkey and readline in c#?
How many types of constructor are there in c#?
What is the difference between iqueryable and ienumerable?
What is list collection in c#?
Explain how to add controls dynamically to the form using c#.net.
if we inherit class in stack so object of stack will store in stack or heap? as class a { int s; public aa(){} } stack mystack:a { } mystack obj; ans: about obj
What is use of console?
What is appdomain in c#?
what is garbage collection?
Can we create instance for Abstract class?
28 Answers HCL, Satyam, SoftSol, Wipro,
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)