Aqueduct.Utils.CSVService.FromCollection C# (CSharp) Метод

FromCollection() защищенный статический Метод

protected static FromCollection ( ICollection values ) : string[]
values ICollection
Результат string[]
        protected static string[] FromCollection(ICollection<string> values)
        {
            if (values == null || values.Count == 0)
                return new string[] { };

            string[] retVals = new string[values.Count];
            int count = 0;
            foreach (string str in values)
                retVals[count++] = str;
            return retVals;
        }