Question Detail

COM 101 COM 101 Past Questions Objective Question

Question

Which of the following Collection class of VB.NET represents ordered collection of an object that can be indexed individually?
Options
A Grid
B SortedList
C ArrayList
Correct Answer
D Stack
Correct Answer

Option C is the correct answer.

Detailed Explanation

ArrayList in VB.NET represents an ordered collection of objects that can be individually indexed. It allows dynamic memory allocation and can store elements of any data type.

Hint

This collection is like a dynamic array.

Question Info