Click or drag to resize

CollectionUtilCompareListT Method

Compare the sizes and members of this List with another List.

Namespace:  Nova.Utilities
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax
C#
public static bool CompareList<T>(
	this List<T> thisList,
	List<T> thatList
)
where T : struct, new()

Parameters

thisList
Type: System.Collections.GenericListT
The collection to be compared.
thatList
Type: System.Collections.GenericListT
The collection to compare it to.

Type Parameters

T
The generic type parameter of the Lists being compared.

Return Value

Type: Boolean
True if the collections are equal, otherwise false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ListT. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also