aurora/aurora-sharp-desktop/Aurora/Utils/Combine.cs
2021-03-05 23:10:12 -05:00

25 lines
509 B
C#

using System.Linq;
namespace Aurora.Utils
{
public static class Misc
{
public static string Combine(string[] args)
{
string outString = "";
foreach (string arg in args)
{
if (arg == args.Last())
{
outString += arg;
}
else
{
outString += arg + ":";
}
}
return outString;
}
}
}