C# how to parse array to list code example Example: c sharp array to list var list = new List<int>(array);