Question: i have the name of a control in a string and I want to manipulate the control, how do i turn the string into the current form instance of that control in c#?

e.g.

```
string controlName = "Button1";

```

What goes here? 

```
button1.text = "Changed";

```

Thanks

Answer: 
```
Button button1 = (Button)this.Controls[controlName];

```
You need to look up the control in the controls collections, then cast it to the correct type. Is this in WPF , WinForms or ASP.Net?