Examveda

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: Option C


This Question Belongs to Computer Science >> Visual Basic

Join The Discussion

Related Questions on Visual Basic