When I create the smallest C# application that I can (code following) I get an exe size of 6,144 bytes. Is this the smallest C# application that one can build ? I don't really know anything about CLR under the hood, except that it creates like a CLR-machine language version of the app that is compiled into machine code (first run or every run). Does anyone have any ready hints at the issues I'm facing, even just some reading material on solving this problem would be good. I have seen SlimDX demos but they are large (>100k), seemingly the only small demos are written using C++. but certainly small SlimDX apps can be build, I'm just not sure how small ?
namespace CreateWindowUsingMiniWindowLib
{
static class Program
{
static int Main()
{
return 42;
}
}
}