6
Reply

Valid C# Syntax

richard smith

richard smith

Jan 30 2013 1:42 PM
1k
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)