title: Reading text files one word at a time until end of file and display on textblock
body: <p>I am looking for a way I can read a text file, one word at a time, until the end of the file.
  This is my code at the moment but it is only reading one word from the file and no more.
  How can I process the entire file?</p>
  
  <pre><code> var ResourceStream = Application.GetResourceStream(new Uri("test.txt",UriKind.Relative));
              using (Stream myFileStream = ResourceStream.Stream)
              {
                  string s = "";
                  StreamReader myStreamReader = new StreamReader(myFileStream);
                  s = myStreamReader.ReadToEnd();
                  s = s.Trim();
                  //tlbwords.Text = s;
                  char[] delimiters = { '\n', '\r' };
                  string[] words = s.Split(delimiters);
                  tlbwords.Text = words[0];
             }
          }
      }
  }
  </code></pre>