Execute string in c#?

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top