Check out example codes for "convert ienumerable to list". It will help you in understanding the concepts better.

Code Example 1

using Linq;

IEnumerable<int> enumerable = Enumerable.Range(1, 300);
List<int> asList = enumerable.ToList();

Code Example 2

List<object> list = enumerable.ToList();

Learn ReactJs, React Native from akashmittal.com