Skip to Content
Visual Basic 2015 Unleashed
book

Visual Basic 2015 Unleashed

by Alessandro Del Sole
July 2015
Intermediate to advanced
1300 pages
87h 27m
English
Sams
Content preview from Visual Basic 2015 Unleashed

The Null-Conditional Operator: A First Look

Visual Basic 2015 introduces a new important language feature: the null-conditional operator. It gives you a more elegant and efficient way to check for null values (Nothing) before using an object. Due to its importance and to the different types of objects you can use it with, the null-conditional operator is discussed in many chapters of this book. This chapter provides an introduction to this operator. Other examples and explanations will be provided after you get the knowledge you need about specific topics, such as nullable types, to understand how you can use the new operator with value types. With plain types, it is represented by the ?. symbols. To get a taste of how it works, consider the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning Visual Basic 2015

Beginning Visual Basic 2015

Bryan Newsome

Publisher Resources

ISBN: 9780134196664Purchase book