When you inherit a protected class-level variable, who is
it available to?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why generics are used?

668


What is an ienumerable in c#?

712


Explain About .NET Framework

678


What is difference between a type and class?

800


Can extension methods access private members?

671


What is ado net in c#?

678


Why do we overload constructors?

684


Can a struct be null?

676


Why do we use readonly in c#?

672


Is c# used for frontend or backend?

806


What is difference between a function and a method?

682


How do you prevent a class from being inherited in c#?

621


What is the difference between static and private constructor in c#?

696


Is int a struct in c#?

682


What is bitwise operator in c#?

676