<PackageReference Include="System.Runtime" Version="4.0.21-beta-23409" />

System.Runtime.CompilerServices.StrongBox<T>

public class StrongBox<T> : IStrongBox
Holds a reference to a value.
public T Value

Represents the value that the StrongBox<T> references.

public StrongBox()

Initializes a new StrongBox which can receive a value when used in a reference call.

public StrongBox(T value)

Initializes a new instance of the StrongBox<T> class by using the supplied value.