string lines = File.ReadAllText(path); string [] split_arr = lines.Split(';')//files containt ; seprated values foreach(string l in split_arr) { Console.WriteLine(l); }