Home > Articles > Programming > ASP .NET

  • Print
  • + Share This
This chapter is from the book

Q&A

  1. Is VB.NET or C# case sensitive?

  1. 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.

  1. What happened to the variant type?

  1. 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.

  • + Share This
  • 🔖 Save To Your Account