ObjectPool<T>.Get Method

Definition

Gets an object from the pool if one is available, otherwise creates one.

C#
public abstract T Get();

Returns

T

A T.

Applies to

Product Versions
.NET 10 (package-provided)
.NET Standard 2.0 (package-provided)