richard smith

richard smith

  • NA
  • 327
  • 102.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)