The Queue(Of T) and Stack(Of T) Collections

The .NET Framework offers generic versions of the Queue and Stack collections, known as System.Collections.Generic.Queue(Of T) and System.Collections.Generic.Stack(Of T). Their behavior is the same as nongeneric version, except that they are strongly typed. Because of this, you already know how to work with generic versions so they are not discussed here.

Get Visual Basic® 2010 Unleashed 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.