Derived Class

noun

say it: “dih-RYVD klas” /dɪˈraɪvd klæs/

A class that inherits from another class and adds or changes members.

What is Derived Class in C#?

Derived Class — A class that inherits from another class.

class Alert
{
    public virtual string Text()
    {
        return "Alert";
    }
}

class EmailAlert : Alert
{
    public override string Text()
    {
        return "Email";
    }
}

In a sentence

  • “Ebook is a derived class of Book.”

Level: Journeyman · More C# terms at this level

Updated

In other subjects