# Span&lt;T>

A stack-only view over a continuous region of memory without owning that memory.

## What is **Span&lt;T>** in C#?

**Span&lt;T>** — A stack-only view over a continuous region of memory without owning that memory.

```csharp
class BufferReader
{
    void Clear(int[] buffer)
    {
        Span<int> view = buffer;
        view.Clear();
    }
}
```

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/span-t
