Quiz Yourself: Collections

Evaluate your understanding of .NET collection types including lists, FIFO structures, and observable data patterns.

We'll cover the following...
Technical Quiz
1.

Which statement correctly describes the behavior of the RemoveAll method when applied to a generic List<T> collection?

A.

It completely clears all elements from the list and immediately resets the internal capacity back to zero.

B.

It accepts a predicate delegate and removes every single element that satisfies the provided condition.

C.

It recursively searches for duplicate elements and removes the second occurrence of any matched items.

D.

It evaluates the underlying variable type and deletes elements that do not match the expected constraints.


1 / 14