Check out example codes for "c# array to list". It will help you in understanding the concepts better.

Code Example 1

var intArray = new[] { 1, 2, 3, 4, 5 };
var list = new List<int>(intArray);

Code Example 2

using System.Linq;

int[] ints = new [] { 10, 20, 10, 34, 113 };

List<int> lst = ints.OfType<int>().ToList(); // this isn't going to be fast.

OR

List<int> lst = new List<int> { 10, 20, 10, 34, 113 };

Code Example 3

var list = new List<int>(array);

Learn ReactJs, React Native from akashmittal.com