Developer building tools always want to know how to make an app that works well as both a console and a GUI. Junfeng describes two interesting techniques, one used by VS.NET and one used by ildasm. I’ve done the VS.NET technique myself before and it works well, although the details can get a bit hairly. I haven’t yet built an app where twiddling the bits with editbin is necessary, but hey, whatever makes you happy. : )