# Return Type

The type of value a method promises to return.

## What is **Return Type** in C#?

**Return Type** — The type of value a method promises to return.

```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

- [Return Type in Java](https://www.ask-codey.com/glossary/return-type)

Source: https://www.ask-codey.com/glossary/return-type-c-sharp
