J José Joye Aug 27, 2004 #2 ArrayList sampleArrayList; // Instanciate and fill the arrayList with eg instance of SampleData class //... // loop the array (assuming you have only SampleData instances in this array) foreach (SampleData sd in sampleArrayList) { // use sd to access current element // ... } José
ArrayList sampleArrayList; // Instanciate and fill the arrayList with eg instance of SampleData class //... // loop the array (assuming you have only SampleData instances in this array) foreach (SampleData sd in sampleArrayList) { // use sd to access current element // ... } José
C Cor Ligthert Aug 27, 2004 #3 Nicole, Although your question is answered, did you know that there is a special newsgroup for C#. microsoft.public.dotnet.languages.csharp I hope this heps? Cor
Nicole, Although your question is answered, did you know that there is a special newsgroup for C#. microsoft.public.dotnet.languages.csharp I hope this heps? Cor