API

ArrayPool<T>.Return

Ends the rental; clearArray applies when retained for reuse.

Formal Syntax & Structure

csharp syntaxcsharp
pool.Return(rented, clearArray: true);

Working Example

Example Snippetcsharp
// Documentary fragment; see linked lesson for context.pool.Return(rented, clearArray: true);
C# & .NET Reference