Multiple choice

To count the number of items in a List Box, the ____ method can be used.

  1. Get Count ()

  2. Get Items Count

  3. Items.Count ()

  4. Get Item Count ()

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

In Visual Basic and similar GUI frameworks, the getItemCount() method returns the number of items in a ListBox or similar control. This allows you to programmatically determine how many items are currently in the list.