Click or drag to resize

BcfReadOnlyArrayListExtensionsSequenceEqualTDerived, TBase Method (BcfReadOnlyArrayListTBase, IEnumerableTDerived, IEqualityComparerTBase)

Determines whether two sequences are equal according to an equality comparer.

Namespace:  System.Linq
Assembly:  CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 4.2.0
Syntax
public static bool SequenceEqual<TDerived, TBase>(
	this BcfReadOnlyArrayList<TBase> source,
	IEnumerable<TDerived> items,
	IEqualityComparer<TBase> comparer = null
)
where TDerived : TBase

Parameters

source
Type: CalculationWorks.BusinessModelBcfReadOnlyArrayListTBase
The readonly array list.
items
Type: System.Collections.GenericIEnumerableTDerived
The sequence to compare.
comparer (Optional)
Type: System.Collections.GenericIEqualityComparerTBase
Optional comparer.

Type Parameters

TDerived
The type of element in the compared array.
TBase
The type of element contained by the collection.

Return Value

Type: Boolean
if the two source sequences are of equal length and their corresponding elements are equal according to the specified comparer for their type; otherwise, .

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type BcfReadOnlyArrayListTBase. 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