title: How to read character by character in text file line using C#
body: <p>I'm new to C#, so sorry if you find my question stupid.</p>
  
  <p>What I need to do is read a line in text file and show the in</p>
  
  <pre><code>Console.WriteLine().
  </code></pre>
  
  <p>So far, I tried this code, but it did nothing but show the counting of characters...</p>
  
  <p>What I'm looking for is to show each character, then step forward to the next, and so forth....</p>
  
  <p>Here is my code:</p>
  
  <pre><code>if (File.Exists(path))
  {
      StreamReader MyStreamReader = new StreamReader(path);
  
      for (int i = 0; i &lt; 99; i++)
      {
          int char = MyStreamReader.Read();
          Console.WriteLine(char);
          Console.ReadLine();
      }
  
      MyStreamReader.Close();
  }
  </code></pre>