I am writing a asp.net+c# code to get all files in a directory I am using the following statements:
string[] files = Directory.GetFiles(Server.MapPath("~/someFolder"));
my question is when executing this statement, what is the behavior of GetFiles here? is there any criteria for storing the files in the array? I mean does executing this statement many times brings the files with the same order? does it get them ordered by date, name, ?