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
Why we use get and set property in c#?
What is form feed in c#?
What is the usage of OLE?
What is the difference between interface and abstract class in c#?
What is executereader in c#?
How do you prevent a method from being overridden in c#?
If you want to write your own dot net language, what steps you will u take care?
Explain acid rule of thumb for transactions in c#.
Where’s global assembly cache located on the system?
What is static variable in c#?
How many variables do you need?
Can you drink alcohol with a loop recorder?
What's the difference between WindowsDefaultLocation and WindowsDefaultBounds?
What is an int c#?
What is difference between ienumerable and ienumerator in c#?