title: PHP to ASP.NET conversion
body: <p>Does anyone know how to convert the following PHP code to ASP.NET?</p>
  
  <pre><code>&lt;?php
  $myFile = "includes/status.txt";
  $fh = fopen($myFile, 'r');
  $theData = fread($fh, 1);
  
  $status= $theData;
  
  if ( $status == 0) {
      include('includes/bol_down.php');
  } 
      elseif ($status == 1){
      include('includes/login_form_up.php');
  }
  
  fclose($fh);
  ?&gt;
  </code></pre>