0

Is it possible? Self modifying codes based on users choices.

3 Answers 3

1

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.

Sign up to request clarification or add additional context in comments.

1 Comment

thanks for your answer, I don't know yet what I'm trying to do, I'm still just asking if its possible. But if I start coding, I'll definitely have an answer to your question. thanks again.
0

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

Comments

0

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.