public string[] ReadAllLines(string fileName) { string s = ReadAllText(fileName); return s.Replace("\n", "").Split(Convert.ToChar("\r")); }