title: strFileName in open file dialog
body: <p>I am fairly new to c#.</p>
  
  <p>My question is what is strFileName in open file dialog?</p>
  
  <p>I have this code currently:</p>
  
  <pre><code> string input = string.Empty;
  
          OpenFileDialog open = new OpenFileDialog();
  
          open.Filter = "txt files (*.txt)|*.txt|All files (*.*)|*.* ";
  
          open.InitialDirectory = "C:";
  
          if (open.ShowDialog() == DialogResult.OK)
  
              strFileName = open.FileName;
  
          if (strFileName == String.Empty)
  
              return; 
  </code></pre>
  
  <p>It brings up an error on strFileName. i cant find an explanation as to what it does in this code.</p>
  
  <p>Any help will be appreciated and i apologise if this question has been asked before.</p>