C# Programming - Properties - Discussion
Discussion Forum : Properties - General Questions (Q.No. 5)
5.
Which of the following statements are correct?
- The signature of an indexer consists of the number and types of its formal parameters.
- Indexers are similar to properties except that their accessors take parameters.
- Accessors of interface indexers use modifiers.
- The type of an indexer and the type of its parameters must be at least as accessible as the indexer itself.
- An interface accessor contains a body.
Discussion:
1 comments Page 1 of 1.
Aaron said:
9 years ago
What does 4 means anyways?
And what's wrong with 3 or 5? Not always but they are all correct.
And what's wrong with 3 or 5? Not always but they are all correct.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers