1
using System
.Collections
.Generic
;
4 namespace IEnumerableExtras
6 public static class EnumerableJoin
8 public static string Join
< T
>( this IEnumerable
<T
> enumerable
, string glue
)
10 return enumerable
.Reduce( new StringBuilder(), ( sb
, item
) => sb
.Append( item
).Append( glue
) ).ToString();