ArrayList fileArrayList = = new ArrayList();
string[] files = Directory.GetDirectories(path)
fileArrayList.AddRange(files);
Converting ArrayList to Array:
ArrayList fileArrayList = new ArrayList();
//Populate fileArrayList
...
string[] files = (string[])fileArrayList.
No comments:
Post a Comment