C# Programming - Collection Classes - Discussion

Discussion :: Collection Classes - General Questions (Q.No.2)

2. 

How many enumerators will exist if four threads are simultaneously working on an ArrayList object?

[A]. 1
[B]. 3
[C]. 2
[D]. 4
[E]. Depends upon the Project Setting made in Visual Studio.NET.

Answer: Option D

Explanation:

No answer description available for this question.

Divya T Nair said: (Apr 26, 2013)  
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.

Vlad said: (Oct 11, 2014)  
ArrayList can work with diff data types - string, int, bool. That's why we have number 4.

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.