title: Is it possible to convert F# code to C# code?
body: <p>The reason why I am asking is that I'm learning F# and would like to attend TopCoder competitions. However, F# is not among the list of languages supported there. But C# is on the list (to be honest, this is the case for almost all online coding competitions, except Google Code Jam and Facebook Hacker cup).</p>
  
  <p>The possible workarounds I can think of at this moment are 
  1) find a translator that can translate F# source code directly into C#
  2) compile F# code into .net executable first, then disassemble it back to C# code</p>
  
  <p>The minimum requirement is that the generated C# must be able to compile into a runnable .net executable, preferable as less external dependency as possible. </p>
  
  <p>The first approach seems unlikely, a quick google search turns out nothing relevant.
  Approach two looks more promising, there are .net disassemblers exist.</p>
  
  <p>I tried the most popular one --- Reflector from Red Gate. While it can perfectly dissemble C# executables, it appears to have problems with executables compiled from F#: it happily disassembled, but the resulting C# code has some special characters such as adding a leading $ sign to a class name and other weird stuffs, so it cannot be compiled. I was using Visual Studio 2010 Professional, the latest Reflector beta version (which is free).</p>
  
  <p>Am I missing anything here? Is it possible? </p>
  
  <p>Update:
  It looks like this is still impossible. For now, I'll use C# instead.</p>