Add project files.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Beam.Temporary.Cli {
|
||||
public static class StringExtensions {
|
||||
public static string Aggregate(this IEnumerable<string> str, string separator) {
|
||||
if (!str.Any())
|
||||
return string.Empty;
|
||||
return str.Aggregate((x, y) => $"{x}{separator}{y}");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user