问题
Is there a way, in visual studio, I could enable code hot swap? In java, using eclipse at least, you can change code at runtime, save it and it will instantaneous change in your application. I know there is the "edit and continue" feature, but I am wondering if there was the same feature for C#.
回答1:
The question is unclear. Are you looking for "edit and continue" in C#? That exists since VS2010 (although only if running in 32 bit mode). Or do you want to make your application swap code at runtime? That works as well, but requires manually coding a plugin engine (or using a third party library).
来源:https://stackoverflow.com/questions/27718015/hot-swapping-code-like-java-in-c-sharp