Data type errors

Which of the following has/have syntax errors?
  1. label1.Visible = True
  2. label1.Visible = "True"
  3. label1.Visible = 35
  4. label1.Text = True
  5. label1.Text = "True"
  6. label1.Text = "hoho"
  7. label1.Text = 3
  8. label1.Text = "3"
  9. 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?


Disclaimer: The views and opinions expressed on unofficial pages of California State University, Dominguez Hills faculty, staff or students are strictly those of the page authors. The content of these pages has not been reviewed or approved by California State University, Dominguez Hills.