Additional Topics on Inheritance
Discover more details of working with inheritance in .NET
We'll cover the following...
Access the base class members
Inheritance is great, but what exactly do we inherit? All members of the base class or only some of them? We can answer these questions by trying to access base class members. Let’s consider an example:
public class EducationalOrganization
{
private string _name;
public string Name
{
get {
...Access this course and 1400+ top-rated courses and projects.