Q:

Which among the following are the advantages of using indexers?

(a) To use collection of items at a large scale we make use of indexers as they utilize objects of class that represent the collection as an array

(b) Indexers are also convenient as they can also make use of different types of indexers like int, string etc

(c) An indexer allows an object to be indexed such as an array

(d) All of the mentioned

I had been asked this question in homework.

My enquiry is from Introduction of Indexers in portion Indexers and Exception Handling of C#

C#

All Replies

Viewing 1 replies (of 1 total)

Viewing 1 replies (of 1 total)

  • You must be logged in to reply to this topic.