What are the new .NET features for Visual Basic?

.net 4.5 for Windows 8! What are the new exciting features for VB.NET?

Should I download the preview now or wait for the final version?

+6
source share
1 answer

Now you can override the root namespace .

 Namespace Global.NewNamespace Public Class Class1 End Class End Namespace Public Class Class1 End Class 

This means that the above can be called so.

 Dim _class1 As New NewNamespace.Class1 Dim _class1_1 As New VB_Console.Class1 

AND

Iterators are also new.

In other words, you get the yield keyword that you already had in C #

http://msdn.microsoft.com/en-us/library/dscyy5s0%28v=vs.110%29.aspx#Y0

+5
source

Source: https://habr.com/ru/post/898854/


All Articles