# Method Overloading

Defining methods with the same name but different parameter lists.

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

**Method Overloading** — Defining methods with the same name but different parameter lists.

```csharp
class PriceFormatter
{
    string Format(int price)
    {
        return $"${price}";
    }

    string Format(decimal price)
    {
        return $"${price:F2}";
    }
}
```

Level: Apprentice · [More C# terms at this level](https://www.ask-codey.com/glossary/subjects/c-sharp/apprentice)

Updated: September 27, 2026

## In other subjects

- [Method Overloading in Java](https://www.ask-codey.com/glossary/method-overloading)
- [Method Overloading in OOP](https://www.ask-codey.com/glossary/method-overloading-oop)

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