Multiple choice technology platforms and products

Following are some of the VB.NET changes in .NET 4.0. Pick the one which is not correct

  1. It is no longer necessary to use Line continuation character ( _ ) to continue the code to next line. This is not supported in NET 4.0

  2. Optional parameters can now be nullable

  3. It is now possible to create Jagged Arrays with following syntax: Dim ArrayNewWay = {({"1", "2", "3"}), ({"4", "5"})}

  4. Collections can now be initialized using the following syntax with the new From keyword: Dim Colors As New List(Of String) From {"Red", "Yellow", "Green"}

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

VB.NET 4.0 introduced implicit line continuation, making the underscore character optional in many cases where line breaks would naturally occur (after operators, commas, opening parentheses, etc.). Option A is incorrectly worded but identifies the right concept - line continuation became largely optional in VB.NET 4.0.