to list c#

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

Also in C#: