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 / anil

Indexers are Location indicators and are used to access
class objects, just like elements in an array. They are
useful in cases where a class is a container for other
objects.

1.Indexer takes an Index argument and looks like an Array.
2.Indexer is declared using the name this.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the benefit of using interface in c#?

1048


How does dependency injection work c#?

992


What is token in c#?

1017


What tool we have to use to install assembli in gac folder.

940


what is difference between destruct or and garbage collection ?

989


What is difference between write and writeline in c#?

946


Why data types are important?

1007


How can you use abstract class and interface?

1225


What are async and await?

992


what is boxing and unboxing?can we initialize unboxing directly?

941


Write a console application and implement the ternary operator to decide whether the age a user entered after being prompted is allowed to vote or not(given that only citizens between 18 and 120 years only inclusive can vote). Use exception handling for non-numerical input.

2398


What are functions in c#?

950


Why do we use interfaces in c#?

980


What is the object class in c#?

1019


Where value types are stored in c#?

979