Vous êtes sur la page 1sur 5

ASSIGNMENT NO.

NAME:Helen Joy Vidal DATE: June 27,2013

COURSE/YEAR/SECTION:BSIT4B INSTRUCTOR:Mr.JhonPaul
Cruz

1.What is VB.Net?
Visual Basic .NET​ (​VB.NET​) is an ​object-oriented​ ​computer programming language
that can be viewed as an evolution of the classic ​Visual Basic​ (VB), implemented on the ​.NET
Framework​. Microsoft currently supplies two main editions of ​IDEs​for developing in Visual
Basic: ​Microsoft Visual Studio​ 2012, which is ​commercial software​ and ​Visual Basic Express
Edition​ 2012, which is ​free of charge​. The command-line compiler, VBC.EXE, is installed as
part of the freeware .NET Framework SDK. ​Mono​ also includes a command-line VB.NET
compiler. The most recent version is VB 2012, which was released on August 15, 2012.

2.Different versions of VB.Net


There are 6 versions of Visual Basic .NET implemented by the Visual Basic team.

Visual Basic .NET (2002) (VB 7.0)


The first version of Visual Basic .NET, which runs on .NET framework 1.0. The most important
feature is ​Managed code​, which contrasts with Visual Basic 6.0 and before.

Visual Basic .NET 2003 (VB 7.1)


Visual Basic .NET 2003 was released with version 1.1 of the .NET Framework. New features
included support for the ​.NET Compact Framework​ and a better VB upgrade ​wizard​.
Improvements were also made to the performance and reliability of the .NET IDE (particularly
the ​background compiler​) and runtime. In addition, Visual Basic .NET 2003 was available in
the​Visual Studio.NET Academic Edition​ (VS03AE). VS03AE is distributed to a certain number
of scholars from each country without cost.

Visual Basic 2005 (VB 8.0)


Visual Basic 2005 was the name used to refer to Visual Basic .NET, as Microsoft decided to
drop the .NET portion of the title.

For this release, Microsoft added many features, including:


● Edit and Continue
● Design-time expression evaluation.
● The ​My​ pseudo-​namespace​ (​overview​, ​details​), which provides:
○ easy access to certain areas of the .NET Framework that otherwise require
significant code to access
○ dynamically generated classes (notably ​My.Forms​)
● Improvements to the VB-to-VB.NET converter
● The ​Using​ keyword, simplifying the use of objects that require the Dispose ​pattern​ to free
resources
● Just My Code​, which when debugging hides (steps over) ​boilerplate code​ written by the
Visual Studio .NET IDE and system library code
● Data Source binding, easing ​database​ client/server development
The above functions (particularly ​My​) are intended to reinforce Visual Basic .NET's focus as a
rapid application development​ platform and further differentiate it from ​C#​.

Visual Basic 2005 introduced features meant to bridge the gaps between itself and other "more
powerful" .NET languages, adding:

● Features of other ​.NET 2.0 languages​ such as:


○ Generics
○ Partial classes​, a method of defining some parts of a class in one file and then
adding more definitions later; particularly useful for integrating user code with
auto-generated code
○ Operator overloading​ and ​nullable Types
● Support for ​unsigned integer​ data types commonly used in other languages
One other feature of Visual Basic 2005 is the IsNot operator that makes 'If X IsNot Y' equivalent
to 'If Not X Is Y', which gained notoriety when it was found to be the subject of a Microsoft
patent application.

Visual Basic 2008 (VB 9.0)


Visual Basic 9.0 was released together with the ​Microsoft .NET Framework 3.5​ on 19 November
2007.

For this release, Microsoft added many features, including:

● A true ​conditional operator​, "If(condition as boolean, truepart, falsepart)", to replace the


"IIf" function.
● Anonymous types
● Support for ​LINQ
● Lambda expressions
● XML Literals
● Type Inference
● Extension methods

Visual Basic 2010 (VB 10.0)


In April 2010, Microsoft released Visual Basic 2010. Microsoft had planned to use the ​Dynamic
Language Runtime (DLR)​ for that release but shifted to a co-evolution strategy between Visual
Basic and sister language C# to bring both languages into closer parity with one another. Visual
Basic's innate ability to interact dynamically with CLR and COM objects has been enhanced to
work with dynamic languages built on the DLR such as ​IronPython​ and ​IronRuby​. The Visual
Basic compiler was improved to infer line continuation in a set of common contexts, in many
cases removing the need for the "_" line continuation character. Also, existing support of inline
Functions was complemented with support for inline Subs as well as multi-line versions of both
Sub and Function lambdas.

Visual Basic 2012 (VB 11.0)


The latest version of Visual Basic .NET, which runs on .NET framework 4.5. Async
Feature, Iterators, Call Hierarchy, Caller Information and Global Keyword in Namespace
Statements are some of the major features introduced in this version of VB.

3.Review of data type and variables

Fundamental data types


When programming, we store the variables in our computer's memory, but the computer has to
know what kind of data we want to store in them, since it is not going to occupy the same
amount of memory to store a simple number than to store a single letter or a large number, and
they are not going to be interpreted the same way.

The memory in our computers is organized in bytes. A byte is the minimum amount of memory
that we can manage in C++. A byte can store a relatively small amount of data: one single
character or a small integer (generally an integer between 0 and 255). In addition, the computer
can manipulate more complex data types that come from grouping several bytes, such as long
numbers or non-integer numbers.
Next you have a summary of the basic fundamental data types in C++, as well as the range of
values that can be represented with each one:

Name Description Size* Range*

char Character or small integer. 1byte signed: -128 to 127


unsigned: 0 to 255

short Short Integer. 2bytes signed: -32768 to 32767


int(short) unsigned: 0 to 65535

int Integer. 4bytes signed: -2147483648 to


2147483647
unsigned: 0 to
4294967295

long int Long integer. 4bytes signed: -2147483648 to


(long) 2147483647
unsigned: 0 to
4294967295

bool Boolean value. It can take one of two 1byte true or false
values: true or false.

float Floating point number. 4bytes +/- 3.4e +/- 38 (~7 digits)

double Double precision floating point number. 8bytes +/- 1.7e +/- 308 (~15
digits)

long double Long double precision floating point 8bytes +/- 1.7e +/- 308 (~15
number. digits)

wchar_t Wide character. 2 ​or​ 4 1 wide character


bytes

* The values of the columns ​Size​ and ​Range​ depend on the system the program is compiled for.
The values shown above are those found on most 32-bit systems. But for other systems, the
general specification is that int has the natural size suggested by the system architecture (one
"word")​ and the four integer types char, short, int andlong must each one be at least as large as
the one preceding it, with char being always one byte in size. The same applies to the floating
point types float, double and long double, where each one must provide at least as much
precision as the preceding one.

Vous aimerez peut-être aussi