MoreEnumerableRunLengthEncode Method |
Name | Description | |
---|---|---|
RunLengthEncodeT(IEnumerableT) |
Run-length encodes a sequence by converting consecutive instances of the same element into
a KeyValuePair{T,int} representing the item and its occurrence count.
| |
RunLengthEncodeT(IEnumerableT, IEqualityComparerT) |
Run-length encodes a sequence by converting consecutive instances of the same element into
a KeyValuePair{T,int} representing the item and its occurrence count. This overload
uses a custom equality comparer to identify equivalent items.
|