C# lista to ArrayList code example
Example 1: c sharp array to list
var list = new List<int>(array);
Example 2: C# list to array
string[] array = list.ToArray();
var list = new List<int>(array);
string[] array = list.ToArray();