Errata

C# & VB.NET Conversion Pocket Reference

Errata for C# & VB.NET Conversion Pocket Reference

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Printed Page 26
2nd Paragraph

States: One C# feature not available in VB.NET is the "Continue" statement. There is:

Dim x As Integer
For x = 1 To 100
If x = 5 Then
Continue For
End If
Next
or
Do While x < 10
If x = 5 Then
Continue Do
End If
Loop

Anonymous  Dec 04, 2008 
Printed Page 53
Last Paragraph

The author stated that in VB.NET you cannot declare the iteration variable inside the
For Each (unlike C#). This is incorrect. You do have the option to do this. Please
see the MSDN online documentation on this below:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vblr7/html/vastmforeach.asp

Anonymous   
Printed Page 53
Last Paragraph

The author stated that in VB.NET you cannot declare the iteration variable inside the
For Each (unlike C#). This is incorrect. You do have the option to do this. Please
see the MSDN online documentation on this below:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vblr7/html/vastmforeach.asp

Anonymous