开发者

Is there a vb.net program that can modify its code at runtime?

Is it possible? 开发者_高级运维Self modifying codes based on users choices.


It's possible but complicated; look at the classes in the System.Reflection.Emit namespace.

However, you can probably do something simpler; please tell us what you're trying to do.


yes - see prior two answers.

but don't, unless there is no other way; debugging will be a nightmare

consider plug-ins instead, if possible


Certainly. Reflection allows code to be compiled on-the-fly and executed.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜