Que: What is wrong with the below statement?

Msg.Text=”This is an example”&ControlChars.NewLine&“Example”.
a. Used double quotes, should have used single quotes
b. No errors
c. There should be spaces before and after each &
d. Should have ended with a ;
Answer: There should be spaces before and after each &

Leave a Comment