I don’t want check if an item with a value exists in the arraylist,
I want to know the best code for performance to get how many occurrences of the same item with the same value exists in an arraylist.
I can do something like
For Each s As string In myArrayList
[...]
Next
however is there a better code of that?
It sounds like you want to see how many times a particular element is repeated in a
ArrayList. If so try the followingNote: This assumes that you are using Visual Studio 2005 or higher. If not please let me know and I’ll provide a 2003 compatible answer