Escolar Documentos
Profissional Documentos
Cultura Documentos
E-ISSN 0976-3945
Review Article
ABSTRACT
The Visual Basic language has always been an exceptional production tool for building applications. It
continues to provide easy access to the Microsoft.Net Framework, allowing developers to write
applications that extent desktop, phone, browsers and even the cloud. This paper reviews examines the
new features added to Visual Basic 2010 like Statement Lambdas, Line Continuation, Auto Implemented
Properties, Dynamic Language Runtime, Multi Targeting.
INTRODUCTION
New Features
other.
implemented
properties
and
collection
Statement Lambdas
programmers
in C#.
to
write
functions
as
Here's an example:
Module Module1
Sub Main ()
Dim q = Sub ()
Console.WriteLine ("Hello World!")
q ()
End Sub
End Module
'Sub'/'Function'
(and
E-ISSN 0976-3945
'End
Sub'/'End
Here's an example:
Module Module1
Sub Main ()
Dim t As Integer = 22
Dim q = Sub ()
Dim s = Function (str As String)
Console.WriteLine (str)
Return 0
End Function
s ("Hello World!")
End Sub
q ()
End Sub
End Module
use
line-continuation
underscore
E-ISSN 0976-3945
is
smarter
about
auto-detecting
line
_ at all:
Here's an example:
same feature.
Using
its value.
the
auto-implemented
properties
Here's an example:
Public Class Person
Here's an example:
Public Class Person
Private _name As String
Private _age As Integer
Public Property Name() As String
Get
Return _name
End Get
Set(ByVal value As String)
_name=value
End Set
End Property
Public Property Age() As Integer
Get
Return _age
End Get
Set(ByVal value As String)
_age=value
End Set
End Property
End Class
E-ISSN 0976-3945
easier to read.
The DLR
and the
.NET
Framework
language features.
Here's an example:
Typed Languages
End Class
reflection.
.NET Framework
The
DLR
provides
the
following
advantages.
tree-shaped
helper
implement
languages.
structure,
runtime
The
DLR
also
enables
E-ISSN 0976-3945
libraries and
Invocation
Multi Targeting
Framework
gain
2.0
access to all
through
the
the
.NET
features
such
as
Statement
DLR Architecture
innovations
in
rapid
application
has
been
expanded
to
make
Technology,
Changa
for
their
E-ISSN 0976-3945