25 lines
509 B
C#
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;
|
||
|
}
|
||
|
}
|
||
|
}
|