Visual| Programming Summary: Visual Basic.NET is the result of reinventing visual Basic for Microsoft's. NET Framework
。 There are many changes in it that make Visual Basic.NET more user-friendly and powerful than visual Basic 6.0, and give it the ability to access certain system resources that used to be used in languages such as C + +. The most important thing is to increase the inheritance of the object. In Visual Basic.NET, all controlled types are derived from System.Object.
An important new language feature is garbage collection, which is managed by the common language runtime (Common Language Runtime), providing better memory management capabilities. The common type system allows for greater interoperability and also helps to improve the power and flexibility of Visual Basic.NET.
If you haven't used the visual Basic. NET programming language, it's time for you to touch it. In this article, my goal is to be on visual Basic. NET and the new Microsoft. NET platform, provide you with an introductory, but in-depth observation. This document will start from scratch and set up for you about visual Basic. NET of knowledge. So when I started, I discussed the new programming model and the advanced architecture of the platform execution engine, which is called the Common language runtime (common language runtime-clr).
In explaining what the CLR is and how it works, I'm going to introduce several uses of visual Basic. NET's example. You can see that Visual Basic has undergone significant innovations to accommodate the CLR and the programming model associated with it. As a result, Visual Basic.NET has many new object-oriented design features and more advanced type security than previous versions of Visual Basic.
It is also important to understand that Visual Basic.NET has lost many of the syntax forms used in previous versions of Visual Basic. This means that code written in Visual Basic 6.0 can only be modified to be in Visual Basic. NET in the compilation. And, you want to write to be able to work in visual Basic. NET, you typically need to take advantage of features that are not supported in Visual Basic 6.0. So, when you upsize Visual Basic 6.0 engineering to Visual Basic. NET, you often need to rewrite your code, not just a transfer.
Upsize Visual Basic 6.0 project to Visual Basic. NET, a significant amount of code rewriting work may be required because of the old runtime, such as the VBA runtime or the ActiveX Data Object (ADO) library. To be a valid. NET programmer, you should completely use the shared class library of CRLs.
Visual Basic.NET is one of several new languages specifically designed for the CLR and the. NET Framework. Another language that causes considerable attention is C #. Like many other languages, you might be interested in understanding C # and Visual Basic when using Visual Basic. NET Compare, what height is different. Like Visual Basic.NET, C # is a language designed specifically for the CLR and the. NET Framework. Unlike Visual Basic.NET, C # is designed for programmers proficient in C and C + + languages, and is very friendly to them. From the beginning to the end, I will point out several key differences that may make you prefer one of these languages. However, I think that, in any language, you can write software that takes full advantage of the CLR and the. NET Framework. Now, let me introduce. NET platform's core concept begins.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.