Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.IO;
- namespace ConsoleApplication37
- {
- class Program
- {
- static void Main(string[] args)
- {
- StreamReader olvas = new
- StreamReader("Adyversek.txt", Encoding.Default);
- string Adyversek;
- for (int i = 1; i < 27; i++)
- {
- Adyversek = olvas.ReadLine();
- Console.WriteLine(Adyversek);
- }
- olvas.Close();
- string szövegfájl = "Ady2.txt";
- StreamWriter ir = new
- StreamWriter(szövegfájl, true, Encoding.Default);
- ir.WriteLine();
- Console.WriteLine("Eszenyi Mihály");
- ir.Close();
- Console.ReadKey();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement