Editar

Compartilhar via


NullableExtensions Class

Definition

Helpers for working with the Nullable<T> type.

public static class NullableExtensions
type NullableExtensions = class
Public Module NullableExtensions
Inheritance
NullableExtensions

Methods

DangerousGetValueOrDefaultReference<T>(Nullable<T>)

Returns a reference to the value of the input Nullable<T> instance, regardless of whether the HasValue property is returning true or not. If that is not the case, this method will still return a reference to the underlying default value.

Applies to