You can't. C# does not compile to native code: it compiles to something called Intermediate Language which is executed by the Common Language Runtime (CLR). Without the . NET framework, the program cannot, and will not run.