Choose the correct statement among the following?
A. A property can be a static member whereas an indexer is always an instance member
B. A get accessor of a property corresponds to a method with no parameters whereas get accessor of an indexer corresponds to a method with the same formal parameters lists as the indexer
C. It is an error for indexer to declare a local variable with the same name as indexer parameters
D. All of the mentioned
Answer:A
Choose the correct statement among the following?
A. A property can be a static member whereas an indexer is always an instance member B. A get accessor of a property corresponds to a method with no parameters whereas get accessor of an indexer corresponds to a method with the same formal parameters lists as the indexer C. It is an error for indexer to declare a local variable with the same name as indexer parameters D. All of the mentioned