Other characteristics of Visual Basic .NET not applicable to C#:


Please explain why do you think this question should be reported?

Report Cancel
  • Conversion of Boolean value True to Integer may yield -1 or 1 depending on the conversion used
  • Assigning and comparing variables uses the same token: =. Whereas C# has separate tokens, == for comparison and = to assign a value
  • VB.NET identifiers are not case-sensitive.
  • When assigning a value to a variable with a different data type (and with Option Strict not turned on), VB.NET will coerce the value if possible. This automatic coercion can sometimes lead to unexpected results
Please follow and like us:

About the Author