High Performance C# - Span<T>

High Performance C# - Span<T>

Sep 3, 2023

1 min read

Span<T> is a valuable feature introduced in C# 7.2 (and further improved in later versions) as part of the "Span of T" family of types. It is primarily used for efficiently working with sequences of data in a contiguous block of memory, without the need for unnecessary copying or allocations.