O'Reilly logo

Microsoft® Visual Basic® 2010 Developer’s Handbook by Klaus Löffelmann and Sarika Calla Purohit

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 17. Developing with Generics

Introduction

Generics are not new to Microsoft Visual Basic 2010; they’ve been around since Visual Basic 2005. Generics are a way to create a single code base that can accommodate many different types, and they are an invaluable tool for developing robust applications. Many of the classes you use every day are based on generics—whether those are Nullables, generic collections such as List(Of T) or Collection(Of T), or generic delegates like Action(Of T), Function(Of T), or Tuple(Of T). They’re also a central component of Microsoft Language-Integrated Query (LINQ), a querying technology that you’ll ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required