how to convert system.array to list in c# code example Example: c sharp array to list var list = new List<int>(array);