A
Artificer
Allow me to explain my question. I would like create a function in
which one of it sentences will be decided at run time.
Something like
String MySentence= "int x=0;"
Public void MyFunction (String MyCode)
{
Execute (MyCode);
}
Here "Execute" is a fictitious reserved word that will read the string
and execute the code inside it.
There is something like "Execute" in C# ?
which one of it sentences will be decided at run time.
Something like
String MySentence= "int x=0;"
Public void MyFunction (String MyCode)
{
Execute (MyCode);
}
Here "Execute" is a fictitious reserved word that will read the string
and execute the code inside it.
There is something like "Execute" in C# ?