C# Programming - Collection Classes - Discussion

Discussion Forum : Collection Classes - General Questions (Q.No. 2)
2.
How many enumerators will exist if four threads are simultaneously working on an ArrayList object?
1
3
2
4
Depends upon the Project Setting made in Visual Studio.NET.
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
2 comments Page 1 of 1.

Vlad said:   1 decade ago
ArrayList can work with diff data types - string, int, bool. That's why we have number 4.

Divya T Nair said:   1 decade ago
Please help me by elaborating the answer.

Is the question talking about Array List internal functionality of enumerating the values.

Or fetching the value from array list by Enumerable ? Please Explain the answer selected.

Post your comments here:

Your comments will be displayed after verification.