Re: How to count value in a ArrayList



On May 23, 7:43 am, "Tony" <johansson.anders...@xxxxxxxxx> wrote:
Hello!

I have an ArrayList with many double that is sorted some of these double
value exist more then once in the ArrayList.
Is it possible to use some feature in C# or from the framework to count each
unique double value or is the only
solution to run through the list and count every unique double value.

//Tony

Hi,

You will have to run through the list, there is no way to avoid that.
.


Loading