c sharp interview questions

ADD TO FAVORITES
c sharp interview questions
c sharp interview questions
1. Who is a protected class-level variable available to?
It is available to any sub-class (a class inheriting this class).

2. Are private class-level variables inherited?
Yes, but they are not accessible. Although they are not visible or accessible via the class interface, they are inherited.

3. Describe the accessibility modifier "protected internal".
It is available to classes that are within the same assembly and derived from the specified base class.

Next 4-6