C# (Sharp) Programming Language Question:

Are private class-level variables inherited?

Tweet Share WhatsApp

Answer:

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

Download C# (Sharp) Programming Language PDF Read All 163 C# (Sharp) Programming Language Questions
Previous QuestionNext Question
Can you change the value of a variable while debugging a C# application?Can you inherit multiple interfaces?