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<string, AddInProject>
m_addinProjects;

public AllAddInProjects()
{
m_addinProjects = new SortedList<string,
AddInProject>();
}
}
}


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Sharp Interview Questions

What is access modifier in c#?

0 Answers  


What are the namespace level elements?

0 Answers  


Describe ways of cleaning up objects.

8 Answers   Wipro,


what is namespace?

6 Answers  


Can a dictionary have duplicate keys c#?

0 Answers  






what r arraylist? what the use of Hashtables?

4 Answers  


Explain the difference between pass by value and pass by reference.

0 Answers   TCS,


Is enum a class c#?

0 Answers  


How to open a new form on button click in Windows forms?

0 Answers   Viscus Infotech,


What?s the difference between <c> and <code> XML documentation tag?

1 Answers  


can you overload a method of class A in Class B if it is derived class of A?If it is yes tell me how is it possible?

4 Answers   Mphasis, Ness Technologies,


What is a .exe extension files? How is it similar to .dll extension files?

0 Answers   Accenture,


Categories