0
I’m a C# beginner and I built a code inside a string and I need it to be executed.
string MyString = "MyPictureBox.BackColor = Color.Red;";
I have found other similar questions (including apologies for this) but I have not yet succeeded... There is, in C#, how to do it simply?
See also: http://answall.com/q/109211/101
– Maniero
var engine = new Scriptengine(); engine. Execute(Mystring);
– Dorathoto