Recently in learning vb.net this piece of things, naturally will think vb.net and VB6 is what relationship.
On the macro level, it is from object-based to complete object-oriented, so it's not easy to say that VB.net is an upgraded version of VB6.0. In learning vb.net before, has been exposed to C + + and VB, so in the learning vb.net always see their shadow, that déjà vu I have to sigh: this vb.net is simply a mixed version of the programming language AH.
Prior to the birth of Visual Basic1.0 in 1991, developers had to write programs using an unformed block of C + + and the Windows system itself, known as the Windows API. So the program was designed only for professionals who have been rigorously trained, and the appearance of VB changed all of this, the ease of use of VB and after years of improvement, so that VB in the program world occupies a dominant position, but also because it is too simple, many people think is the "toy" language, because it does not support C + + And some of the mechanisms of high-level languages such as Java. As a then, VB 7.0 did not appear, replaced by the vb.net.
Vb. NET is part of the visualstudio.net, which is a combination of tools and languages, including C # and Visual C++.net. Personally think, VB. NET has the body of VB language, has the object-oriented soul.
If you are familiar with VB, then you only need to understand the VB.net object-oriented home mechanism can be quickly to write applications, vb.net on the basis of VB to add a lot of things, but also abandoned a lot of bad things, below we focus on understanding, vb.net have any changes.
First, a big feature is the introduction of namespaces, Namespaces (Namespace) are used to define and manage categories, and the class libraries of the framework can see. NET we provide a lot of Namespace, such as System namespace contains definitions of the console, object, and so on.
As the week is known, VB6.0 does not support inheritance, overloading, and interfaces, so it is not an object-oriented language, and vb.net supports these object-oriented features, which we can consider inherited from the C + + language.
Also has the video to explain in the vb.net how carries on the exception processing, its method and the VB is not the same. In VB6.0 we use the On Error Goto and on Error Resume next to handle the exception, which is referred to as unstructured exception handling, and vb.net to the structured exception handling mechanism, using a try ... Catch... Finally, exception handling is similar to C + +.
In the last part of the video to explain the multithreaded programming, familiar with the VB language friends know, VB a big flaw is not supporting multithreaded programming, and vb.net this was supplemented, in the. NET framework, all languages share CRLs, So you can use vb.net C # or something else. NET language for the design of multithreaded programming.
The above is only from a few big aspects to discuss some characteristics of the vb.net language, as for more and finer differences left to the reader to check the data, to learn and learn, such as what data type length problem, keyword changes, variable declaration changes and Process Control statements change and so on.
vb. NET is a very affinity programming language, close to natural language language expression makes it easier for people to read and write the corresponding code, so it seems to be a high-level programming language, understandable, it is indeed the basic system so far the most powerful programming language, Its applications include Windows desktop programs, Web applications, and recently popular mobile device applications.