Hi*,
Dim BigCollection As New Collection
Dim SmallCollection As New Collection
SmallCollection.Add("Hello World")
BigCollection.Add(SmallCollection)
MsgBox(BigCollection(1)(1)) 'shows "Hello World
SmallCollection.Clear()
MsgBox(BigCollection(1)(1)) 'ERROR (Collection is empty)
I want that once I put something in the BigCollection it stays there, I dont want it to be changeable from outside. I want to be able to clear the SmallCollection but it should not be cleared in the BigCollection. Any Ideas? Maybe it is bad approach, I am not the .net guru here yet ;)
Thanks!