CClash.Compiler.JoinAguments C# (CSharp) Method

JoinAguments() public static method

public static JoinAguments ( IEnumerable args ) : string
args IEnumerable
return string
        public static string JoinAguments(IEnumerable<string> args)
        {
            var sb = new System.Text.StringBuilder();
            foreach (var a in args)
            {
                if (a.Contains(' ') || a.Contains('\t'))
                {
                    sb.AppendFormat("\"{0}\"", a);
                }
                else
                {
                    sb.Append(a);
                }
                sb.Append(" ");
            }
            return sb.ToString().TrimEnd();
        }