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

Sign in to queue

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

Download

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.

Add Your 2 Cents