Language: VB.NET Benefits
To demonstrate some of the benefits of VB.NET
Featured Highlights:
-
Using the StringBuilder object, which offers for superior efficiency in working
with strings.
-
File manipulation functions, including reading from and writing to files,
copying, moving and deleting files, and accessing file properties.
-
Debugging and Tracing, using the new Debug and Trace objects, which have more
flexibility then the VB6's Debug.
-
Structured exception handling with Try...Catch...Finally...End Try, which
replaces the VB6 On Error GoTo construct, and offers superior flexibility.
-
Inheritance, including the concepts of overloaded procedures, overriding base
class methods in the derived class, and contrasting these with interface
inheritance in VB6.
-
Free threading, including the ability to start a new thread at will.
-
Windows Forms capabilities, including anchoring and docking, easily setting tab
order, and new graphics capabilities.
In addition, these concepts are included in the demonstrations of the main
features above.
-
Declaring and initializing variables
-
Zero-based arrays, whose declared size is the same as their number of elements
-
Short-circuited conditionals (AndAlso, OrElse)
-
The Return keyword
-
No more autoconversion of strings to numbers.
-
How variables now have scope in code blocks
-
Calling procedures
-
Control Arrays
Requirements:
Microsoft Visual Studio.NET Professional or greater.
Windows 2000 or Windows XP.
Running the Sample:
Simply press F5.
See Also
StringBuilder
System.IO
Trace
Listeners
Structured Exception Handling
Inheritance
Threading