GetDefault() Method

Definition

Namespace Stunts
Assembly Stunts.dll

Gets a default value for the given type T.

public T? GetDefault<T>()

Type parameters

T

Returns

{T}