Indexers??

  • Thread starter Thread starter Benssol
  • Start date Start date
B

Benssol

Hi all great programmers and great coders

Please can anyone explain clearly the following:
usage of indexers?
is it used widely (in most applications)?
is there is another way that do its function?



thanks for all
 
Benssol said:
Hi all great programmers and great coders

Please can anyone explain clearly the following:
usage of indexers?
is it used widely (in most applications)?
is there is another way that do its function?

It is a very nice feature for all "container" type
classes.

Almost all apps uses "container" type classes for
something, so I would say that most program use
indexers.

Some apps may only use indexers in classes provided
by .NET itself (or other libraries).

Some apps may contain user classes with indexers too.

Arne
 
Benssol,

Can you explain it a little bit more.

In my opinion are all data classes based on collections/arrays.

Of course are all search, find, add whatever methods build around those
indexers

Cor
 
Arne said:
It is a very nice feature for all "container" type
classes.

Almost all apps uses "container" type classes for
something, so I would say that most program use
indexers.

Some apps may only use indexers in classes provided
by .NET itself (or other libraries).

Some apps may contain user classes with indexers too.

Arne



thanks Arne for your nice reply


I also forget to search about this topic in the board
and when I did I found more about it
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top