How can I convert ArrayList into string[] in C#?
ArrayList
string[]
Another way is as follows.
System.Collections.ArrayList al = new System.Collections.ArrayList(); al.Add("1"); al.Add("2"); al.Add("3"); string[] asArr = new string[al.Count]; al.CopyTo(asArr);