C# Programming - Properties - Discussion

Discussion Forum : Properties - General Questions (Q.No. 5)
Which of the following statements are correct?
  1. The signature of an indexer consists of the number and types of its formal parameters.
  2. Indexers are similar to properties except that their accessors take parameters.
  3. Accessors of interface indexers use modifiers.
  4. The type of an indexer and the type of its parameters must be at least as accessible as the indexer itself.
  5. An interface accessor contains a body.
1, 3, 5
1, 2, 4
3, 5
2, 4
Answer: Option
No answer description is available. Let's discuss.
1 comments Page 1 of 1.

Aaron said:   8 years ago
What does 4 means anyways?

And what's wrong with 3 or 5? Not always but they are all correct.

Post your comments here:

Your comments will be displayed after verification.