Discussion Forum

  1. Home
  2. »
  3. Languages
  4. »
  5. Which of the following statements...
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: B . 1, 2, 4
0Shares
0 0

If you think the posted answer is wrong or Confused About the Answer? Ask for Details Here

Know Explanation? Add it Here
we’ll review your comment and contact you soon….

Leave a Reply

Your email address will not be published. Required fields are marked *

0Shares
0
Scroll to Top