Quiz Yourself: Classes and OOP II
Assess your understanding of inheritance, polymorphism, casting, and static members in C#.
We'll cover the following...
We'll cover the following...
Technical Quiz
1.
What is the primary advantage of using a generic List<T> over a non-generic ArrayList?
A.
List<T> automatically sorts elements upon insertion.
B.
List<T> allows storing mixed types in the same collection.
C.
List<T> uses less memory by compressing data internally.
D.
List<T> eliminates the need for casting and improves type safety.
1 / 12
...