MS VB

Dec 11, 2014 13:57

http://www.theregister.co.uk/2014/12/10/hey_dont_forget_visual_basic_says_microsoft_open_source_and_new_features_coming/
What’s new in VB 14?
1. multi-line string literals
2. There is also a new ?. operator which returns a nullable type rather than an exception if it references a property of a null object:
Customer?.Name
3. VB 14 is also getting string interpolation. Instead of using a positional placeholder, you can embed expressions in strings prefixed with the $ character:
Dim s = $”Hello {Customer.Name}”

Потырить из Groovy - это "инновации" и энтерпрайз же.
Хорошие художники копируют, великие художники воруют.(c)
Previous post Next post
Up