A variable is nothing but a name given to a storage area that our
programs can manipulate. Each variable in VB.Net has a specific type,
which determines the size and layout of the variable's memory; the range
of values that can be stored within that memory; and the set of
operations that can be applied to the variable. We have already discussed various data types. The basic value types provided in VB.Net can be categorized as:
Type | Example | |
---|---|---|
Integral types | SByte, Byte, Short, UShort, Integer, UInteger, Long, ULong and Char | |
Floating point types | Single and Double | |
Decimal types | Decimal | |
Boolean types | True or False values, as assigned | |
Date types | Date |
VB.Net also allows defining other value types of variable like Enum and reference types of variables like Class. We will discuss date types and Classes, in subsequent chapter
Source : http://www.tutorialspoint.com
No comments:
Post a Comment