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;
        }