Execute string in c#?

  • Thread starter Thread starter Nigil LaVey
  • Start date Start date
N

Nigil LaVey

greetings all,

I am just wondering if there's a method to execute text string,
say like... I have a label control.. I want to excute the label.text

MyLabel.Text="int t=o; t+=2";

Execute(label.Text)?

pls advise,
Nigil Chua
 
Back
Top