直接读取文件,和直接排序
string[] temp = File.ReadAllLines(Server.MapPath("~/App_Data/WordData.txt"));
Array.Sort(temp, new CaseInsensitiveComparer()); // sort for binary search
string[] temp = File.ReadAllLines(Server.MapPath("~/App_Data/WordData.txt"));
Array.Sort(temp, new CaseInsensitiveComparer()); // sort for binary search