In order to add en element at the end of the List, simply use
Add(). To add several elements, try AddRange().
To insert somewhere else try Insert() or
InsertRange().
To Remove elements you must use Remove() and RemoveRange().
// ArrayListSample.cs // (C) Copyright 2003 by Johannes Roith using System; using System.Collections; class ArrayListSample { static void Main() { ArrayList arraylist1 = new ArrayList(); } }
// ReadTextFile.vb // (C) Copyright 2003 by Johannes Roith imports System imports System.Collections Public Module ReadTextFile { Public Sub Main () End Sub End Module