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
What language is c# similar to?
What is the base class in .net from which all the classes are derived from?
What is a web service in c#?
What is predicate builder?
Why do we use readonly in c#?
What is the max value of int32 in c#?
Assembly Code. in Rejester AL. How do Contast Replece( or Change): Bit D3 With Bit D4 and Bit D2 With Bit D5 and Bit D1 With Bit D6 and Bit D0 With Bit D7 I am Not Know Very Well Write English.
What is thread and explain states of a thread in c#?
What is exe in c#?
What is event sourcing in c#?
What are regular expressions? Search a string using regular expressions?
What are strongly typed objects?
Why do we need reflection in c#?
What is difference between array and arraylist in c#?
What is integer c#?