πŸ“Š Visual Basics
Q. What is wrong with the below statement?
Code:
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 ;
πŸ’¬ Discuss
βœ… Correct Answer: (C) There should be spaces before and after each &

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
141
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Ravi Shankar
Publisher
πŸ“ˆ
80%
Success Rate