Skip to main content

Command Palette

Search for a command to run...

High Performance C# - Span<T>

Updated
1 min read
High Performance C# - Span<T>
B

Software development especially the .NET stack is our hobby, but we talk about everything related to technology..

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.