Skip to content

Commit

Permalink
Create linq.cs (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
pikoslav authored Apr 18, 2024
1 parent cbbc90e commit c6702d0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/cs/piki/linq.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
using System;
using System.Linq;
using MoreLinq;


var result = String.Concat("AAABBAACC".GroupAdjacent(c => c, (c, cc) => "" + cc.Count() + c));
Console.WriteLine(result);

0 comments on commit c6702d0

Please sign in to comment.