API
Memory<T>.Pin
Obtains a disposable pin/handle for the relevant storage.
Formal Syntax & Structure
csharp syntaxcsharp
using var pin = memory.Pin();Working Example
Example Snippetcsharp
// Documentary fragment; see linked lesson for context.using var pin = memory.Pin();