Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void ReadFile()
- {
- FileStream fs = null;
- StreamReader sr = null;
- fs = new FileStream(@"C:\Users\Bernhard\Desktop\Dictionary.txt", FileMode.Open);
- sr = new StreamReader(fs);
- int i = 0;
- while (!sr.EndOfStream)
- {
- string line = sr.ReadLine();
- if (line[0] != '%')
- {
- line = _MyStrings[i];
- i++;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement