title: How to read a specific line of a file in C#
body: <p>i'm trying to read a file but i need to control the line number in the file.
  I try with StreamReader.ReadLine method but I can't control line number.</p>
  
  <p>This is my code:</p>
  
  <pre><code>private void abrirToolStripMenuItem_Click(object sender, EventArgs e)
      {
          string line;
          if (openFileDialog1.ShowDialog() == DialogResult.OK)
          {
              StreamReader sr = new
              StreamReader(openFileDialog1.FileName);
  
              //Read specified line with StreamReader
  
              sr.Close();
          }
  
      }
  </code></pre>
  
  <p>Its a form, the design is in Spanish.</p>
  
  <p>Please anyone can help me?</p>