richard smith

richard smith

  • 1.5k
  • 285
  • 160.3k

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)