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
Is c# a keyword?
What is null character in string?
What is the difference between abstract and abstraction?
What are primitive types in c#?
what is the meaning of Object lifetime in OOPS
what is IFormatable
What is the do while loop code?
Are arrays immutable c#?
What is managed or unmanaged code?
Explain how to parse a datetime string?
Explain the top reason to use c# language?
What is dependency injection in simple words?
Why do we need generics in c#?
How long can loop recorders stay in?
What is difference between singleton and static class in c#?