Optional<T> constructor

Initializes a new instance of the Optional{T} structure to the specified value.

public Optional(T value)
parameter description
value The value.

See Also