I have a array list
private ArrayList rps = new ArrayList();
now below code is working fine in 2005 but not in visual studio 2008
int min = Convert.ToInt32(rps.Item(0));
int max = Convert.ToInt32(rps.Item(rps.Count - 1));
Error: System.Collections.ArrayList does not contain a definition for 'Item' and no extension method 'Item' accepting a first argument of type 'System.Collections.ArrayList' could be found (are you missing a using directive or an assembly reference?`