Using a string argument to represent an object
If I have the following code:

    TextBox txtUsername = new TextBox();
    void setEnabled(string str, bool enable)
    {
        // use str to find the TextBox object
        // str.Enabled = enable;
    }

Is this kinda thing even possible?

I want to be passing in 'Username' and then be prepending it with 'txt'.
Using a string argument to represent an object
===

If I have the following code:

    TextBox txtUsername = new TextBox();
    void setEnabled(string str, bool enable)
    {
        // use str to find the TextBox object
        // str.Enabled = enable;
    }

Is this kinda thing even possible?

I want to be passing in 'Username' and then be prepending it with 'txt'.