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 service layer c#?

862


Explain when should you call the garbage collector in .net?

916


Is dictionary a collection?

862


What is Private Constructor? and it’s use? Can you create instance of a class which has Private Constructor?

988


What is a event in c#?

888


Explain synchronous and asynchronous operations?

1003


What are instance fields in c#?

1005


What is a framework in c#?

950


Why do we override in c#?

878


Explain the use of Mutex in C#?

1019


What is strong name in c# and how can we use it?

964


What are the 3 different types of arrays?

1032


What is the advantage of generics in c#?

911


What is the difference between abstract and virtual?

910


What are the advantages of using c#?

940