im trying to write a file manager. its got this:
string[] directories = new string[10000];
directories = System.IO.Directory.GetFiles(path);
for (int i = 0; i <= directories.Length; i++)
ListView1.Items.Add(directories[i]);
and when i run it, it doesnt populate the list view like it should be doing on the last line. any idea why? thanks.