Merge Instances of any VB.NET ICollection into One Array List
Category:C#, VB.NET, ASP.NET
Author:Intelligent Solutions Inc.
Version Compatibility: Visual Basic.NET, ASP.NET
This function takes a list of instances of objects that implement the ICollection interface (Array, ArrayLists, any of the various .NET collections and dictionaries, or your own class that implements ICollection) and merges them into one arraylist. A demo that takes 3 array lists and 1 array, and merges them into one array list is provided.
Instructions: Copy the declarations and code below and paste directly into your VB project.