6
Answers

Valid C# Syntax

richard smith

richard smith

12y
1.3k
1
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)