If we inherit a class do the private variables also get
inherited ?
Answer Posted / jigar
Yes, the variables are inherited but can not be accessed directly by the class interface.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Is array thread safe c#?
What is iqueryable in c#?
Can I call a virtual method from a constructor/destructor?
What is difference between string and stringbuffer in c#?
What is a method signature in c#?
What is dynamic in c#?
What is c# best for?
What are object pooling and connection pooling and difference? Where do we set the Min and Max Pool size for connection pooling?
What's the difference between an integer and int?
What is difference between first and firstordefault?
What are the variables in c#?
In languages without exception-handling facilities, we could send an error-handling procedure as a parameter to each procedure that can detect errors that must be handled. What disadvantages are there to this method?
What is interface used in c#?
Is friend a constructor?
What is wcf c#?