title: How to use a timer in place of a while loop?
body: <p>at the moment i am using a while (true) loop to do this. I am not very familiar with timers. can someone tell me how i would convert this to work with a timer?</p>
  
  <pre><code>string lyricspath = @"c:\lyrics.txt";
  TextReader reader = new StreamReader(lyricspath);
  int start = 0;
  string[] read = File.ReadAllLines(lyricspath);
  string join = String.Join(" ", read);
  int number = join.Length;
  while (true)
  {
      Application.DoEvents();
      Thread.Sleep(200);
      start++;
      string str = join.Substring(start, 15);
      byte[] bytes = Encoding.BigEndianUnicode.GetBytes(str);
      label9.Text = str;
      if (start == number - 15)
      {
          start = 0;
      }
  }
  </code></pre>