## IEnumerable::LINQ_SequenceEqual(SharedPtr\<IEnumerable\<T\>\>) method


Compares two sequences.

```cpp
bool System::Collections::Generic::IEnumerable<T>::LINQ_SequenceEqual(SharedPtr<IEnumerable<T>> second)
```


| Parameter | Type | Description |
| --- | --- | --- |
| second | SharedPtr\<IEnumerable\<T\>\> | The sequence to compare with. |

### ReturnValue

true if both sequences are equal by length and content, false otherwise.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [IEnumerable](../)
* Class [IEnumerable](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.TeX for C++](../../../)
## IEnumerable::LINQ_SequenceEqual(SharedPtr\<IEnumerable\<T\>\>, const SharedPtr\<IEqualityComparer\<T\>\>\&) method


Compares two sequences.

```cpp
bool System::Collections::Generic::IEnumerable<T>::LINQ_SequenceEqual(SharedPtr<IEnumerable<T>> second, const SharedPtr<IEqualityComparer<T>> &comparer)
```


| Parameter | Type | Description |
| --- | --- | --- |
| second | SharedPtr\<IEnumerable\<T\>\> | The sequence to compare with. |
| comparer | const SharedPtr\<IEqualityComparer\<T\>\>\& | The equality comparer to compare by. |

### ReturnValue

true if both sequences are equal by length and content, false otherwise.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [IEnumerable](../)
* Class [IEqualityComparer](../../iequalitycomparer/)
* Class [IEnumerable](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.TeX for C++](../../../)
