Are private class-level variables inherited?

Answers were Sorted based on User's Feedback



Are private class-level variables inherited?..

Answer / guest

Yes, but they are not accessible, so looking at it you can
honestly say that they are not inherited. But they are

Is This Answer Correct ?    7 Yes 0 No

Are private class-level variables inherited?..

Answer / senthil kumar

Its not feasible to inherit the private class variable to
the successor classes.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More C Sharp Interview Questions

In a C# class we have a SortedList member m_addinProjects we want to provide an iterator to allow the consumer of this class access to the items in the collection. Please provide an iterator method for the AnalyzeAddinsDLL class below and an example of how it would be used. namespace AnalyzeAddinsDLL { public class AllAddInProjects { private SortedList<string, AddInProject> m_addinProjects; public AllAddInProjects() { m_addinProjects = new SortedList<string, AddInProject>(); } } }

1 Answers   ABC, WinsIndia,


What is thread life cycle in c#?

1 Answers  


C# is case sensitive, what is mean by case sensitive

3 Answers  


What do multicast delegates mean?

1 Answers  


State the top.NET class that everything is derived from?

1 Answers   Siebel,


What?s the difference between the Debug class and Trace class?

2 Answers  


How can I produce an assembly?

1 Answers  


Explain ACID rule of thumb for transactions.

3 Answers  


Does C# supports multi-dimensional arrays ?

4 Answers   Microsoft,


what is .NET framework architecture ??

1 Answers   IIT, Impetus,


Y go for Interface? What is use of interface?

3 Answers  


What is boxing? Explain its functionality?

1 Answers   Siebel,


Categories