다음을 통해 공유


EqualityComparison<T> Delegate

Definition

Delegate that compares two values for equality.

generic <typename T>
public delegate bool EqualityComparison(T left, T right);
public delegate bool EqualityComparison<T>(T left, T right);
type EqualityComparison<'T> = delegate of 'T * 'T -> bool
Public Delegate Function EqualityComparison(Of T)(left As T, right As T) As Boolean 

Type Parameters

T

The parameter types.

Parameters

left
T

A value of type T.

right
T

A value of type T.

Return Value

Returns true if the values are equal and false otherwise.

Applies to