Sail E0 Webinar
Question
Choose the correct statement among the following?
Options:
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: Option D





Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

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

Latest Videos

Latest Test Papers