Skip to content

M_CodeJam_Fn_Func__1

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

Fn.Func(TResult) Method (Func(TResult))

Helper for type inference from the lambda callback.

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

Syntax

C#

public static Func<TResult> Func<TResult>(
	Func<TResult> func
)

VB

Public Shared Function Func(Of TResult) ( 
	func As Func(Of TResult)
) As Func(Of TResult)

F#

static member Func : 
        func : Func<'TResult> -> Func<'TResult> 

Parameters

 

func
Type: System.Func(TResult)
The lambda callback.

Type Parameters

 

TResult
The result type.

Return Value

Type: Func(TResult)
The lambda callback passed.

See Also

Reference

Fn Class
Func Overload
CodeJam Namespace

Clone this wiki locally