Q&A
-
Is VB.NET or C# case sensitive?
-
VB.NET is not. For example, the class names MyClass and myclass are identical. However, C# is case insensitive, so MyClass and myclass are two different variables. Similarly, Response.Write and Response.write are two different methods; the latter would result in an error if used. The case sensitivity of C# confuses many classic ASP developers.
-
What happened to the variant type?
-
If you're familiar with previous versions of VB, you'll remember that the variant type was a generic data type used to represent any variables not declared as a specific type. In VB.NET, variant has been replaced with the Object type.