Data type errors
Which of the following has/have syntax errors?
- label1.Visible = True
- label1.Visible = "True"
- label1.Visible = 35
- label1.Text = True
- label1.Text = "True"
- label1.Text = "hoho"
- label1.Text = 3
- label1.Text = "3"
- label1.Tuxt = "hoho"
Explain your answers
If I write the assignment statement:
label.top = "hoho"
with option strict on, what happens?
What happens if I turn option stric off?