|
-
Aug 20th, 2002, 01:31 AM
#1
Thread Starter
Fanatic Member
Collection Missing.......
hi
we have collections in vb..
VB Code:
Dim Edd_col As New Collection
but hardly i find usage of it.... and when i search i did not find much...
i am bit is it so simple ...? is it not good to use...? it is very one are smart on this...
Does VB.net has collection...?
-
Aug 20th, 2002, 04:51 AM
#2
Thread Starter
Fanatic Member
-
Aug 20th, 2002, 06:42 AM
#3
Sausage soup if free...TODAY ONLY!
What exactally is your question?
Hmmmmm
.Net does have collections.
Collections are used everywhere! They are VERY handy...
-
Aug 20th, 2002, 06:56 AM
#4
collections you can think of as an array.. the difference being that you can easily add/remove items from it.. and when adding you can add at a specific point in the collection to retain an order...you can also associate each item in the collection with a key for easy access to each item..
-
Aug 20th, 2002, 09:54 PM
#5
Thread Starter
Fanatic Member
thanks Wokawidget & kleinma..
u are right Wokawidget i did not find collection in .net.
in my vb6 project i have several form where i have used collection. now when ms has removed it i was wondering is it good to use collection.
kleinma i read the easy of collection and feel it handy to use.
and i hardy find people talking abou it why....
-
Aug 20th, 2002, 09:56 PM
#6
The largest advantage to collections that I have found is that they can be iterated using a for each ... in ... loop.
Arrays cannot. They require something to the effect of FOR I = LBound(theArray) to UBound(theArray)
Need to re-register ASP.NET?
C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i
(Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)
-
Aug 20th, 2002, 10:01 PM
#7
Need-a-life Member
Originally posted by Lord_Rat
The largest advantage to collections that I have found is that they can be iterated using a for each ... in ... loop.
Arrays cannot. They require something to the effect of FOR I = LBound(theArray) to UBound(theArray)
Another advantage is that you can retrieve an item either with its key or with its index.
Emiliano F. Martín
If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
-
Aug 20th, 2002, 10:04 PM
#8
Need-a-life Member
Originally posted by khalik_ash
thanks Wokawidget & kleinma..
u are right Wokawidget i did not find collection in .net.
I don't know what you mean, khalik_ash. I don't have .NET and cannot answer that, but Wokawidget said that .NET has collections.
Originally posted by Wokawidget
What exactally is your question?
Hmmmmm
.Net does have collections.
Collections are used everywhere! They are VERY handy...
Emiliano F. Martín
If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
-
Aug 20th, 2002, 10:08 PM
#9
Thread Starter
Fanatic Member
Originally posted by Mc Brain
I don't know what you mean, khalik_ash. I don't have .NET and cannot answer that, but Wokawidget said that .NET has collections.
sorry i missed out that... i did not check it... let me check it...
so i need to confirm that using collection is good... than arrays
-
Aug 21st, 2002, 03:00 AM
#10
*YAWN* Need coffee!
Arrays = Smaller resources
Collections = More functionality
I personally would use collections, can't stand arrays.
The answer to your question is, YES, collections are a good thing to use...
-
Aug 21st, 2002, 03:04 AM
#11
Thread Starter
Fanatic Member
Re: *YAWN* Need coffee!
Originally posted by Wokawidget
Arrays = Smaller resources
Collections = More functionality
I personally would use collections, can't stand arrays.
The answer to your question is, YES, collections are a good thing to use...
thanks...Wokawidget
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|