Search⌘ K
AI Features

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.

What is the primary disadvantage of using an ArrayList in a modern C# application when working with value types?

A.

The lack of an indexer prevents developers from accessing elements randomly using bracket notation.

B.

The collection lacks the ability to automatically reposition elements when an item is removed from the list.

C.

The internal storage structure prevents the use of iterative loops like foreach to process contained items.

D.

The internal object[] array requires conversion of value types to System.Object, leading to a complete lack of compile-time type safety.


1 / 14
...