Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

IEnumerable tolist

using System.Linq;

//use the linq library
IEnumerable<int> enumerable = Enumerable.Range(1, 300);
List<int> asList = enumerable.ToList();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #IEnumerable #tolist
ADD COMMENT
Topic
Name
3+6 =