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 |
Define delegation in .net?
What are the different types of literals in c#?
What is the use of oops in c#?
Why do we need serialization?
What is deadly diamond problem?
Can you store multiple data types in System.Array?
What is a satellite assembly in c#?
how can i return string by vilating duplicates(inpyt like asdfsda but output should be 2a2d2sf and 2a,2d,2s,f)
What is call back method?
What is generic types in c#?
How is exception handling implemented in c#?
What are regular expressions? Search a string using regular expressions?
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)