# ref Return

Returning a reference to a storage location instead of copying its value.

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

**ref Return** — Returning a reference to a storage location instead of copying its value.

```csharp
class ScoreBoard
{
    int score;

    ref int Score()
    {
        return ref score;
    }
}
```

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

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/ref-return
