diff --git a/src/cs/piki/linq.cs b/src/cs/piki/linq.cs new file mode 100644 index 0000000..43a322f --- /dev/null +++ b/src/cs/piki/linq.cs @@ -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);