# Method Argument

A value supplied to a parameter when a method is called.

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

**Method Argument** — A value supplied to a parameter when a method is called.

```csharp
class OrderCalculator
{
    int Total(int price, int quantity = 1)
    {
        return price * quantity;
    }
}
```

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 Argument in Java](https://www.ask-codey.com/glossary/method-argument)

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