If we inherit a class do the private variables also get
inherited ?

Answer Posted / nitin kumar tomar

Yes but they are not accessible

Is This Answer Correct ?    34 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do partial classes work in c#?

478


What is better C# or VB.NET?

517


How to override a function in c#?

534


What are the types in c#?

494


What is a event in c#?

457






What does == mean in c sharp?

507


Is null == null c#?

470


What do you mean by a windows process in regards to memory allocation?

501


What's the difference between a static method and a non static method c#?

489


What is difference between array and arraylist c#?

449


What is the implicit name of the parameter that gets passed into the class set method?

482


Is vs as c#?

508


Is c# a keyword?

486


What is difference between out and ref in c#?

525


Is string nullable in c#?

449