Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public List<string> beolvas(string path)
- {
- List<string> felhasznalok = new List<string>();
- using (StreamReader sr = new StreamReader(path))
- {
- while (sr.Peek() >= 0)
- {
- string str;
- string[] felhasz;
- str = sr.ReadLine();
- felhasz = str.Split(';');
- felhasznalok.AddRange(felhasz);
- }
- }
- return felhasznalok;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement