cannot turn on LED from Arduino with Visual Basic

Thanks for the help

My code has
end of loop()
My mistake its here
I use Arduino nano

I checked and it works
I forgot to put resistor to the ground in switch

I still have a problem with Else statement its not work
The LED with Else remains in LOW position why?

If I cancel the Else statement
The LED work When I press the switch and switch from Visual Basic