Which is not a collection type in VB.Net

  1. Hashtable

  2. ArrayList

  3. Heap

  4. Stack


Correct Option: C

AI Explanation

To answer this question, you need to understand the collection types in VB.Net.

Option A) Hashtable - This option is a collection type in VB.Net. A Hashtable is a collection of key-value pairs.

Option B) ArrayList - This option is a collection type in VB.Net. An ArrayList is a dynamic array that can store any type of data.

Option C) Heap - This option is not a collection type in VB.Net. The heap is a memory structure used for dynamic memory allocation, but it is not a built-in collection type.

Option D) Stack - This option is a collection type in VB.Net. A Stack is a data structure that follows the Last-In-First-Out (LIFO) principle.

The correct answer is C) Heap. This option is not a collection type in VB.Net.

Find more quizzes: