richard smith

richard smith

  • 1.4k
  • 285
  • 159.9k

Valid C# Syntax

Jan 30 2013 1:42 PM
Is this valid C# syntax?

tboxUserName.Text = "This is silly";

if (tboxUserName.Text == NULL)
{
        tboxUserName.Text = tboxUserName.Text + "Very Very silly!";
}

Can you add to the contents of a field in the above way?

Answers (6)