a guest Aug 10th, 2018 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- string lines = File.ReadAllLines( "input.txt" );
- StringBuilder sb = new StringBuilder();
- int count = lines.Length - 1; // except last line
- for (int i = 0; i < count; i++)
- File.WriteAllText("output.txt", sb.ToString());
RAW Paste Data