TicketImporter.TfsFailedValidation.toCommaSeparatedString C# (CSharp) Method

toCommaSeparatedString() private method

private toCommaSeparatedString ( ValuesCollection collection ) : string
collection ValuesCollection
return string
        private string toCommaSeparatedString(ValuesCollection collection)
        {
            var commaSeparated = "";
            foreach (string V in collection)
            {
                if (commaSeparated.Length > 0)
                {
                    commaSeparated += (", " + V);
                }
                else
                {
                    commaSeparated += V;
                }
            }
            return commaSeparated;
        }