Click or drag to resize

Utils_LinqCompareT Method

Compares two lists. Returns True if the two lists are both null, or both empty, or both have the same elements.

Namespace:  MicaSystems.Utils
Assembly:  MicaSystems.Utils (in MicaSystems.Utils.dll) Version: 1.0.0.0 (1.1.0.123)
Syntax
C#
public static bool Compare<T>(
	List<T> list1,
	List<T> list2,
	bool ignoreOrder
)
where T : Object, IEquatable<T>

Parameters

list1
Type: System.Collections.GenericListT
list2
Type: System.Collections.GenericListT
ignoreOrder
Type: SystemBoolean

Type Parameters

T

Return Value

Type: Boolean
See Also