Multiple choice

Which of the following is/are the true statement(s)?

  1. Indexer modifier can not be private.

  2. Indexer can have static and instance members.

  3. Properties can have instance and static members.

  4. A get accessor of an indexer has no parameter.

  5. All of the above.

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

This is true about properties.