API

ArrayPool<T>.Rent

Borrows an array at least as large as requested.

Formal Syntax & Structure

csharp syntaxcsharp
ArrayPool<int>.Shared.Rent(3)

Working Example

Example Snippetcsharp
// Documentary fragment; see linked lesson for context.ArrayPool<int>.Shared.Rent(3)
C# & .NET Reference