开发者

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

开发者 https://www.devze.com 2022-12-13 04:03 出处:网络
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.

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

精彩评论

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