Is it possible? Self modifying codes based on users choices.
A:
Certainly. Reflection allows code to be compiled on-the-fly and executed.
Adam Maras
2009-12-06 00:11:41
+1
A:
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.
SLaks
2009-12-06 00:12:05
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.
2009-12-06 10:30:47
A:
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
Steven A. Lowe
2009-12-06 00:44:11