[]
        
(Showing Draft Content)

C1.WPF.Extensions.ContainsAny

ContainsAny Method

ContainsAny<T>(List<T>, params T[])

Determines whether the specified list contains any of the following values.

Declaration
public static bool ContainsAny<T>(this List<T> list, params T[] values)
Parameters
Type Name Description
List<T> list

The list.

T[] values

The values.

Returns
Type Description
bool

true if the specified list contains any; otherwise, false.

Type Parameters
Name Description
T