API
Memory<T>.Slice
Returns a memory view of a subrange without copying elements.
Formal Syntax & Structure
csharp syntaxcsharp
memory.Slice(1, 2)Working Example
Example Snippetcsharp
// Documentary fragment; see linked lesson for context.memory.Slice(1, 2)