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
What's your approach to fetch static data in your windows form application?
What are the differences between value types and reference types?
What do you mean by object pooling?
What is the difference between writeline and write in c#?
Why do we use anonymous method in c#?
Explain states of a thread in c#?
Explain the difference between a Private Assembly and a Shared Assembly
What are anonymous functions in c#?
How do you create user defined data types in c#?
Does a class need a constructor c#?
What is desktop application testing?
What are abstract classes in c#?
What is multithreading with .net?
What is binding in c#?
what happens if you inherit multiple interfaces and they have conflicting method names?