79623116

Date: 2025-05-15 10:31:41
Score: 3
Natty:
Report link

You can also use MoreLINQ's GroupAdjacent function for this.

https://github.com/morelinq/MoreLINQ/blob/master/MoreLinq/GroupAdjacent.cs

Examples to be found here:

https://github.com/morelinq/MoreLINQ/blob/master/MoreLinq.Test/GroupAdjacentTest.cs

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
Posted by: frankhommers