Content Obsolete

This content is no longer current. Our recommendation for up to date content: http://channel9.msdn.com/Series/Visual-Basic-Fundamentals-for-Absolute-Beginners

Working with Collections - 21

Download this episode

Download Video

Download captions

Download Captions

Description

Collections are a more powerful form of arrays. In this lesson we demonstrate an "old style" collection (pointing out their limitations) as well as several of the newer, strongly typed generic collections (List(Of T) and Dictionary(Of T1, T2)) utilizing the generics syntax.

Download the source code for Working with Collections

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image
      Algorithum

      Thanks so much for this video.  I literally was wondering how to make a

      Dim list As New List(of List(Of String)) From {New List(Of String) From {"G","b","c"}}

       

      Thanks so much for it!

    • User profile image
      BobTabor

      Glad to hear it.  Admittedly, it's a bit verbose when compared to the C# version, but still a nice shortcut to instantiate a quick, deep collection of object instances.

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.