Balamurugan
What is Indexer in C#
By Balamurugan in ASP.NET on Sep 25 2009
  • Srihari Chinna
    Dec, 2009 28

    Additional information

    Indexer allows to make an object as a Array. Which is also implementing Iterator Patterns in .NET

     

    • 0
  • kalit sikka
    Oct, 2009 26

    Indexers are a new concept in C#. Indexers enable a class object to function as an array. Implementing indexers is similar to implementing properties using the get and set functions. The only different is that when you call an indexer, you pass an indexing parameter. Accessing an indexer is similar to accessing an array. Indexers are nameless, so the this keyword declares indexers.

    http://kalitinterviewquestions.blogspot.com/

    • 0
  • Balamurugan
    Sep, 2009 25

    Indexer is virtual array and it same as property but here you can store collection of values.

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS