title: The C# equivalent
body: <p>I am trying to close the program :HHTCntrl.exe as if the user clicked exit on that program. I have the following Borland C++ code. What is the C# equivalent?</p>
  
  <pre><code>FILE *sf;
  AnsiString ClosePollControl = AnsiString("HHT")+cbHHTNo-&gt;Text+AnsiString(".cls");
  sf = fopen(ClosePollControl.c_str(),"w");
  fclose(sf);
  </code></pre>