.Net Convert List<int> to List<string>

public IList<string> ConvertIntToStrings()
        {
            var intList = Enumerable.Range(0, 1000);

            var stringList = intList.Select(i => i.ToString()).ToList();

            return stringList;
        }

Leave a Reply

Your email address will not be published. Required fields are marked *