What is indexers in C#

Answer Posted / satish

C# introduces a new concept known as Indexers which are
used for treating an object as an array. The indexers are
usually known as smart arrays in C# community. Defining a
C# indexer is much like defining properties. We can say
that an indexer is a member that enables an object to be
indexed in the same way as an array.

Is This Answer Correct ?    18 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the three types of predicates?

469


What is iqueryable in c#?

498


What is typeof c#?

527


What is data bind in c#?

534


What is the advantage of constructor in c#?

506






Which is the best language for desktop application?

479


What is the default value of string in c#?

568


What is the difference between list and ilist in c#?

496


What is the default value of datetime in c#?

507


What is the use of command builder?

550


Explain the difference between a namespace and assembly name in .net?

506


What is tryparse c#?

503


What is extension method in c# and how to use them?

478


What does int parse do in c#?

483


What is cshtml?

538