brokeMyLegBiking
asked on
convert array of objects to ICollection
how can I convert an array of objects into an ICollection?
I am attempting to add an array of type Object to an ArrayList.
Dim items(combo1.Items.Count - 1) As Object
Dim ic As ICollection
ic = CType(items, ICollection)
Dim al As New ArrayList
al.AddRange(ic)
(this is giving me an error)
I am attempting to add an array of type Object to an ArrayList.
Dim items(combo1.Items.Count - 1) As Object
Dim ic As ICollection
ic = CType(items, ICollection)
Dim al As New ArrayList
al.AddRange(ic)
(this is giving me an error)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.