ListExtensions..::..Peek<(Of <(<'T>)>)> Method

Peeks the specified list.

Namespace:  MichaelBrandonMorris.Extensions.CollectionExtensions
Assembly:  MichaelBrandonMorris.Extensions.CollectionExtensions (in MichaelBrandonMorris.Extensions.CollectionExtensions.dll)

Syntax


public static T Peek<T>(
	IList<T> list
)
Public Shared Function Peek(Of T) ( _
	list As IList(Of T) _
) As T
public:
generic<typename T>
static T Peek(
	IList<T>^ list
)

Type Parameters

T

Parameters

list
Type: IList<(Of <(<'T>)>)>
The list.

Return Value

T.