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

Code Example 1

var arr = new int[] {1, 2, 3};
List<int> list = arr.ToList();

Code Example 2

List<string> myListOfStrings = new List<string> 
{
	"this",
	"is",
	"my",
	"list"
};

Learn ReactJs, React Native from akashmittal.com