Skip to content

M_CodeJam_Option_1_op_Implicit

Andrew Koryavchenko edited this page Jun 17, 2018 · 7 revisions

Option(T) Implicit Conversion (T to Option(T))

Creates a new object initialized to a specified value.

Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public static implicit operator Option<T> (
	T value
)

VB

Public Shared Widening Operator CType ( 
	value As T
) As Option(Of T)

F#

Parameters

 

value
Type: T
Value to convert.

Return Value

Type: Option(T)
Instance of Option(T).Some.

See Also

Reference

Option(T) Class
CodeJam Namespace

Clone this wiki locally