QA

IOTA^_^    

Sams Teach Yourself ASP.NET in 21 Days, Second Edition
By Chris Payne
Table of Contents
Day 3.  Using Visual Basic.NET and C#


Q&A

Q1:

Is VB.NET or C# case sensitive?

A1:

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.

Q2:

What happened to the variant type?

A2:

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.


    IOTA^_^    
    Top


    Sams Teach Yourself ASP. NET in 21 Days
    Sams Teach Yourself ASP.NET in 21 Days (2nd Edition)
    ISBN: 0672324458
    EAN: 2147483647
    Year: 2003
    Pages: 307
    Authors: Chris Payne

    Similar book on Amazon

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net