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 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:
BooleanTrue 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