# Method Overriding

*noun*

say it: **“METH-ud oh-ver-RY-ding”** **/ˈmɛθəd ˌoʊvərˈraɪdɪŋ/**

A derived class giving its own version of a virtual method from its base class, marked override.

## What is **Method Overriding** in C#?

**Method Overriding** — Providing a subclass version of an inherited instance method.

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

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

## In a sentence

- “Through **method overriding**, each shape works out its own Area().”

Level: Journeyman · [More C# terms at this level](https://www.ask-codey.com/glossary?category=c-sharp&level=3)

Updated: November 9, 2026

## In other subjects

- [Method Overriding in Java](https://www.ask-codey.com/glossary/method-overriding-java)
- [Method Overriding in JavaScript](https://www.ask-codey.com/glossary/method-overriding-javascript)
- [Method Overriding in OOP](https://www.ask-codey.com/glossary/method-overriding-oop)
- [Method Overriding in Python](https://www.ask-codey.com/glossary/method-overriding)

Source: https://www.ask-codey.com/glossary/method-overriding-c-sharp
