I am porting an application over from vb 2003 to C# 2005 express. The VB application makes extensive use of the ArrayList object, I have tried looking for it in C# 2005 express and could not find it. Is it not included If not does anyone have any suggestions for a work around I am not very good with arrays and that is why I used arraylists in vb. Currently I am just using a invisible listbox to hold my data (I am placing information into it as and then saving it's contents out to a file)
Thanks for the help!
Scionwest

Porting VB 2003 to C#\Can't find Arraylist
rsknowles
using System.Collections.Generic;
You need:
using System.Collections;
ArrayList is a bit outdated, the .NET 2.0 replacement is System.Collections.Generic.List<>.
Kent Boogaart
Hi, Scionwest
using System.Collections where ArrayList class is just there!
http://msdn2.microsoft.com/en-us/library/system.collections.arraylist.aspx
Thank you
CJ_1234
Awesome, thanks! I used the System.Collections.Generic.List<> and it works great. Appreciate the help.
Scionwest