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.
// TODO add example
For more details, see the documentation.
✏ Edit this page if you see a typo or wish to contribute an improvement. Alternatively, you can also report an issue you see.