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
Define c# i/o classes?
What is a deadlock lock?
What is difference between events and delegates?
What is default value of enum c#?
Explain the process of inheriting a class into another class?
What are partial classes and use of partial classes?
Can you prevent a class from being instantiated?
What is the difference between static class and abstract class in c#?
What are the differences between system.string and system.text.stringbuilder classes?
Can we set image Source dynamically using C# in WPF application?
What is delegate in c#?
What are handlers in c#?
Can you inherit from a sealed class?
What is the difference between asp net and c#?
What is a console file?