Wednesday, 19 March 2014

VB.Net Variables

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:

TypeExample
Integral typesSByte, Byte, Short, UShort, Integer, UInteger, Long, ULong and Char
Floating point typesSingle and Double
Decimal typesDecimal
Boolean typesTrue or False values, as assigned
Date typesDate 

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