Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding two items at the top of an ArrayList
Message
From
10/03/2008 02:44:11
 
 
To
10/03/2008 01:29:37
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01300389
Message ID:
01300390
Views:
8
>What would be the best technique to use to add two new items on top of an ArrayList when I have some items already in it and I would need those items to drop down by two positions each?

I would think: ArrayList.Insert()

This example show how to add 2 items at once:

http://msdn2.microsoft.com/en-us/library/system.collections.arraylist.insert(VS.71).aspx

(You'll have to cut and paste the URL, the autolink is skipping the .aspx)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform