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