VB.NET 和以前的 VB 版本有什么区别? [英] What are the differences between VB.NET and previous versions of VB?

查看:13
本文介绍了VB.NET 和以前的 VB 版本有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我相当熟悉 .NET 之前存在的各种形式的 VB(VB6、VBA、VBScript...),但还没有深入研究 VB.NET 的甜蜜新风味.

I'm reasonably familiar with the various forms of VB that existed prior to .NET (VB6, VBA, VBScript...), but have yet to delve into The Sweet New Flavor that is VB.NET.

因此,如果有人能快速总结一下 VB.NET 带来的语言主要差异,我将不胜感激.

So I would very much appreciate it if someone would provide a quick summary of the major differences in the language brought about by VB.NET.

推荐答案

假设当你说 vb 时你的意思是 vb 6.相当大的.最初的 Visual Basic 不使用 .net 运行时环境,虽然它们的名称相似,但它们的语言差别太大了.Visual Basic 不是完全面向对象的,但 VB.net 是.两者之间的错误处理有很大不同.VB.Net 有 try catch 块,传统的 vb 使用 On Error GOTO 语句.这些只是一些差异.名单还在继续.

Assuming when you say vb you mean vb 6. Pretty big. The original visual basic does not use the .net runtime environment, and although they have similar names, they are pretty much too different languages. Visual Basic is not fully object oriented, but VB.net is. Error handling is vastly different between the two. VB.Net has try catch blocks where traditional vb uses On Error GOTO statements. These are just a few differences. The list goes on and on.

这里是描述 "Visual Fred" 的链接姓名.

Here is a link describing the "Visual Fred" Name.

这篇关于VB.NET 和以前的 VB 版本有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆