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

What is a c# delegate?

1066


What can we do to handle multiple exceptions?

1038


What framework is used for performance testing/load testing?

1967


What is the difference between ref and out in c#?

899


How do you clear a list in c#?

911


What is ado c#?

951


Why dataset is used in c#?

965


Is arraylist type safe in c#?

986


What is the difference between Singleton design pattern and Factory design pattern?

956


Explain the difference between abstract class and interface.

1160


How can i Spawn a Thread

901


What's the difference between abstraction and encapsulation?

899


What is array collection?

956


Name some string escape sequences in c#.

1038


What is the difference between ienumerable and icollection?

926