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 is the lock statement in c#?
what is an event? Define delegate?
Does a class need a constructor c#?
Helo , Help Me , Help Me About : C# Windows Application - Network How To Manage IP Client's Accessiblity To The Internet Share concise Substitute , Minor ISA Server
Can you inherit multiple abstract classes in c#?
What is the purpose of a namespace?
What is a generic c#?
Explain the difference between pass by value and pass by reference.
What is public, private, protected, internal and internal protected?
What is lazy t?
Are c# generics the same as c++ templates?
Why is static constructor called first?
What you mean by delegate in c#?
In a C# class we have a SortedList member m_addinProjects
we want to provide an iterator to allow the consumer of
this class access to the items in the collection. Please
provide an iterator method for the AnalyzeAddinsDLL class
below and an example of how it would be used.
namespace AnalyzeAddinsDLL
{
public class AllAddInProjects
{
private SortedList
What is the use of convert toint32 in c#?