●
VB.NET does not allow assignments within
expressions, but Java does (e.g., while ((x = y()) > 0) assigns
a value to x as part of an expression). Java to VB & C#
Converter will convert simple assignment cases (e.g., x = y
= z or x = y++), but will mark other more complex cases with a "ToDo"
comment. You must manually adjust these.
●
Some reference type comparisons are
converted, but you will need to manually change some equality
symbols to "Is". The VB.NET compiler makes these adjustment
requirements obvious.
●
Java's workaround for event handling has no
direct equivalent in .NET's simple and concise event handling
model.
●
Java wildcard generics have no equivalent in
VB or C#, unless used in a method declaration parameter list.
●
Java local classes or anonymous classes
cannot be declared within methods in VB or C#. These are marked
with a comment.