Properties - Programming

Q1:

Which of the folowing does an indexer allow to index in the same way as an array?
  1. A class
  2. A property
  3. A struct
  4. A function
  5. An interface

A 1, 3, 5

B 2, 4

C 3, 5

D 3, 4, 5

ANS:A - 1, 3, 5

No answer description is available. Let's discuss.