Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Extension method: TInput? Nullable<TInput>(this TInput)

  • Declared in: RT.Util.Ut

Declaration

public static TInput? Nullable<TInput>(
    this TInput input
)

Summary

Turns the specified value into a nullable value.

Generic type parameters

TInput
  • Must derive from: System.ValueType.
  • Must have a default constructor.
  • Must be a non-nullable value type.
Any non-nullable value type.

Parameters

this TInputinputAny value.

Returns

The same value cast as nullable.