Keep in mind the following.....
The add function as you said, does not return an ArrayList, but the result of the add method called to that Arraylist.
As you said....
return m_alCustomerInfo.Add(value
So both are returning an int, and that's why it does not throw any exception
Hope this helps
Tincho
Main Topics
Browse All Topics





by: AvonWyssPosted on 2004-11-08 at 14:26:18ID: 12528159
What do you mean, "the body returns an ArrayList"? The int returned by the add function is the index inside the ArrayList of the newly added element.