C#: How do you pass an object in a function parameter?
<p>C#: How do you pass an object in a function parameter?</p>

<pre><code>public void MyFunction(TextBox txtField)
{
  txtField.Text = "Hi.";
}
</code></pre>

<p>Would the above be valid? Or?</p>
