Advertisement
Guest User

Untitled

a guest
Apr 1st, 2015
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.IO;
  7. namespace WindowsFormsApplication4
  8. {
  9. class Gen
  10. {
  11. public List<String> lines = new List<string>();
  12. public void add_list()
  13. {
  14. StreamReader niki = new StreamReader(@"E:\gen\niki.txt");
  15.  
  16. string line;
  17. while ((line = niki.ReadLine()) != null)
  18. {
  19. this.lines.Add(line);
  20.  
  21. }
  22. }
  23. }
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement