Chapter 12. Advanced VB 2010 Language Features

In this chapter, you'll deepen your understanding of the VB 2010 programming language by examining a number of more advanced syntactic constructs. To begin, you'll learn how to implement and use an indexer method. This VB 2010 mechanism enables you to build custom types that provide access to internal subitems using an array-like syntax. Once you learn how to build an indexer method, you'll see how to overload various operators (+, , <, >, and so forth), and how to create custom explicit and implicit conversion routines for your types (and you'll learn why you may want to do this).

Next, you'll examine three topics that are particularly useful when working with LINQ-centric APIs (though you can use ...

Get Pro VB 2010 and the .NET 4 Platform now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.