string Path = "data.txt"; string[] mas = new string[500]; mas = File.ReadAllLines(Path); for(int i=0;i