Click or drag to resize

EnumerableExtensionsAreStructurallyEqualT(IEnumerableT, IEnumerableT) Method

Determines whether two enumerations are structural equivalent. They are structurally equivalent if i) both enumerations are null, ii) both enumerations are empty, or c) both enumerations have the same number of elements and contain the same elements in the same order. Please not that if one enumeration is null and the other is empty, they are not considered equivalent.

Namespace: Altaxo.Collections
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static bool AreStructurallyEqual<T>(
	IEnumerable<T> e1,
	IEnumerable<T> e2
)
where T : Object, IEquatable<T>

Parameters

e1  IEnumerableT
The first enumeration.
e2  IEnumerableT
The second enumeration.

Type Parameters

T
Type of the elements in the enumeration

Return Value

Boolean
true if the two enumerations are structural equivalent; otherwise, false.
See Also