Let's say you're trying to set a label's text. By doing it, you call a function SetText(labelname, "texthere"). What would the SetText 'header' be?

I'm trying:

```
private void SetText(object foo, string bar) 

```

but that doesn't work

edit: I have this:

```
private void SetText(Control thing, string text)
{
if (this.InvokeRequired)
{
SetTextCallback d = new SetTextCallback(SetText);
Invoke(d, new object[] { text });
}
else
{
thing.Text = text;
}
}

```

But it says something about invalid number of parameters. What do I need to change?