# Virtual Method

*noun*

say it: **“VER-choo-ul METH-ud”** **/ˈvɜːrtʃuəl ˈmɛθəd/**

A method in a base class marked virtual, which derived classes are allowed to override.

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

**Virtual Method** — A method that derived classes are allowed to override.

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

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

## In a sentence

- “Describe() is a **virtual method**, so Ebook can give its own description.”

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

- [Virtual Method in OOP](https://www.ask-codey.com/glossary/virtual-method-oop)

Source: https://www.ask-codey.com/glossary/virtual-method
