C# (Sharp) Programming Language Question:

Download Job Interview Questions and Answers PDF

Are private class-level variables inherited?

C# (Sharp) Programming Language Interview Question
C# (Sharp) Programming Language Interview Question

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 Interview Questions And Answers PDF

Previous QuestionNext Question
Can you change the value of a variable while debugging a C# application?Can you inherit multiple interfaces?