ListHelpers

Compare

Compares two lists and returns if they are equal.

Syntax:

public static bool Compare<T>(
	IList<T> first,
	IList<T> second
)

Type Parameters:

Parameter

Description

T

The type of the provided lists, e.g. string

Parameters:

Parameter

Description

first

Type: IList<T> The first list.

second

Type: IList<T> The second list.

Return Value:

True, if the lists contain the same elements, false otherwise.

Last updated