Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is indexers in C#

Answer Posted / abdul razack

n c# introduce new concept is Indexer. This is very useful for some situation. Let as discuss something about Indexer.
Indexer Concept is object act as an array.
Indexer an object to be indexed in the same way as an array.
Indexer modifier can be private, public, protected or internal.
The return type can be any valid C# types.
Indexers in C# must have at least one parameter. Else the compiler will generate a compilation error.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is int an object in c#?

849


What is an expression in c#?

848


What is signature c#?

864


What is thread safe in c#?

835


Explain About CLS?

909


What is xml serialization in c#?

819


What are the two uses of a ‘using’ statement in c#?

897


What is difference between association, aggregation and inheritance relationships?

865


What are the advantages of constructor?

790


Can I call a virtual method from a constructor/destructor?

832


What does void do in unity?

899


Difference between a sub and a function in c#.

925


How to install or uninstall a windows service?

971


Which attribute adorn a test class to be picked up by the NUnit GUI in the NUnit test framework?

945


How does c# achieve polymorphism?

890