c# - 新的 vb.net 增强功能?

标签 c# vb.net

我已经听说/阅读了很多有关 C# 4 的新语言增强功能的信息。我有点好奇这些相同的增强功能是否也将应用于 VB,或者什么。有谁知道我可以在这里获得一些见解?随着 C# 发生的所有新变化,似乎没有什么理由继续使用 VB,除非您碰巧喜欢这种语法。这次 MS 没有对 VB 进行的增强是否包含在 C# 中,反之亦然?

最佳答案

我实际上忽略了 Lou Franco 对 VB.Net 的解雇。结帐 Panopticon Central:

例如:

Then Lucian did a really wonderful demo of VB 10.0, which is shipping in Visual Studio 2010. He showed (IIRC) the following features that should be familiar to the readers of this blog: array literals, collection initializers, automatic properties, implicit line continuations, statement lambdas, generic variance, and a feature that embeds primary interop assembly types in your assembly so you don’t have to deploy the PIA. I may have missed some, so check out the video when it’s posted!

关于c# - 新的 vb.net 增强功能?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/259273/

相关文章:

c# - 在 C# 中通过 POST 发送 JSON 并接收返回的 JSON?

c# - 应用程序目录中所有用户的可写 .config 文件?

c# - 在 Visual C# Express 中使用多个解决方案的良好实践

mysql - 显示两个表中的数据并消除重复项

C# 你打算调用方法吗

c# - 我如何使用这些 PostMessage Lparam 和 Wparam 的?

vb.net - 如何动态工具提示或在一个按钮上更改工具提示

c# - 大量 bool 值的任何拳击问题?有什么选择吗?

.net - 如何通过 UDP 发送实时数据?

c# - 传递给在紧密循环中生成的线程的参数