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 are interfaces in c#?
What is sorted list in c#?
What is the difference between ienumerable and icollection?
What is var c#?
Is a char?
How we can create an array with non-default values?
Does c# support multiple inheritance (mi)?
What is autopostback in c#?
Which program construct must return a value?
What is xml c#?
What are the Types of caching
What is constants in c#?
How do you create dlls in .NET
is it possible to access a remote web service Without UDDI?
How do you escape in c#?