# Method Parameter

*noun*

say it: **“METH-ud puh-RAM-ih-ter”** **/ˈmɛθəd pəˈræmɪtər/**

A named input listed in a method's parentheses, with its type, that the caller fills with a value.

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

**Method Parameter** — A named input declared by a method.

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

## In a sentence

- “AddTax has one **parameter**, decimal price, so the caller passes in the price.”

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

Updated: November 9, 2026

## In other subjects

- [Method Parameter in Java](https://www.ask-codey.com/glossary/method-parameter)

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