Answer Posted / pushparaj pentakota(anakapalli
by using properties we can access private variables but we can't inherit private class members to another class we can access.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are get and set in c#?
Can datetime be null c#?
What are class fields?
What is assembly and dll in c#?
Is c# pass by reference?
Differentiate between the public and private ?
if a method is marked as protected internal who can access it?
What is the difference between list and ilist in c#?
Can the accessibility of a type member be greater than the accessibility of its containing type?
What is code verification?
Does c# support multiple class inheritance?
Can you create an instance of a static class?
What's the difference between an integer and int?
Is string a data type in c#?
What is the difference between dynamic and var in c#?