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 WindowsFormsApplication4
- {
- class Gen
- {
- public List<String> lines = new List<string>();
- public void add_list()
- {
- StreamReader niki = new StreamReader(@"E:\gen\niki.txt");
- string line;
- while ((line = niki.ReadLine()) != null)
- {
- this.lines.Add(line);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement