title: How do I use FileOpen (VB.NET) in C#? How do I convert this code?
body: <p>So, I'm working on converting this code from VB.NET to C#:</p>
  
  <pre><code>FileOpen(1, Application.StartupPath &amp; "\Stub.exe", _
      OpenMode.Binary, OpenAccess.Read, OpenShare.Default)
  </code></pre>
  
  <p>I've used a series of online converters, and they don't really work for me.</p>
  
  <p>How do I do it? I'm trying to understand VB.NET source code so I can use it in.</p>