1: 2: 3: 4: 5: 6: 7:
Lista l = nytt listar (); stränga [] strFile = File.ReadAllLines (”C:\ \ Test.txt”); (strFile) l.AddRange; l.RemoveAt (0); l.RemoveAt (0); File.WriteAllLines (”C:\ \ Test.txt”, l.ToArray ());