VB.Net and Framework

Introduction of VB.net:

Visual Basic .NET (VB.NET) is an object-oriented computer programming language implemented on the .NET Framework. Although it is an evolution of classic Visual Basic language, it is not
backwards-compatible with VB6, and any code written in the old version does not compile under VB.NET.

VB.NET is implemented by Microsoft's .NET framework. Therefore, it has full access to all the libraries in the .Net Framework

The following reasons make VB.Net a widely used professional language:

  • Modern, general purpose.
  • Object oriented.
  • Component oriented.
  • Easy to learn.
  • Structured language.
  • It produces efficient programs.
  • It can be compiled on a variety of computer platforms.
  • Part of .Net Framework.
Data types:
Data types refer to an extensive system used for declaring variables or functions of different types. The type of a variable determines how much space it occupies in storage and how the bit pattern stored is interpreted.


Data Types Available in VB.Net
VB.Net provides a wide range of data types. The following table shows all the data types available:
Data Type
Storage Allocation
Value Range
Boolean
Depends on implementing platform
True or False
Byte
1 byte
0 through 255 (unsigned)
Char
2 bytes
0 through 65535 (unsigned)
Date
8 bytes
0:00:00 (midnight) on January 1, 0001 through 11:59:59 PM on December 31, 9999
Decimal
16 bytes
0 through +/-79,228,162,514,264,337,593,543,950,335 (+/-7.9...E+28) with no decimal point; 0 through +/-7.9228162514264337593543950335 with 28 places to the right of the decimal
Double
8 bytes
-1.79769313486231570E+308 through -4.94065645841246544E-324, for negative values
4.94065645841246544E-324through 1.79769313486231570E+308, for positive values
Integer
4 bytes
-2,147,483,648 through 2,147,483,647 (signed)
Long
8 bytes
-9,223,372,036,854,775,808 through 9,223,372,036,854,775,807(signed)
String
Depends on implementing platform
0 to approximately 2 billion Unicode characters


Memory Size Structure:

  • Bit = 1 bit 
  • byte = 8 bits 
  • Kilobyte = 1024 bytes 
  • Megabyte = 1024 kilobytes 
  • Gigabyte = 1024 megabytes 
  • Terabyte = 1024 gigabytes 

Dotnet Framework:
Dotnet Framework (pronounced dot net) is a software framework developed by Microsoft that runs primarily on Microsoft Windows. It includes a large library and provides language interoperability (each language can use code written in other languages) across several programming languages
.



1 comment: