Friday, 16 December 2011

79.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.
A.1, 3, 5
B.1, 2, 4
C.3, 5
D.2, 4
Answer: Option B