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 .dbml file?

0 Answers  


Do loops in c#?

0 Answers  


Is there any sample c# code for simple threading?

0 Answers  


Can multiple catch blocks be executed?

4 Answers  


What are the principles of delegation?

0 Answers  


What is integer c#?

0 Answers  


What’s the difference between System.String and System.Text.StringBuilder classes with example

2 Answers  


Can we overload indexer in c#?

0 Answers  


How do you implement multiple inheritance in .NET?

5 Answers   Infosys, Microsoft,


Does c# do array bounds checking?

0 Answers  


Explain how to add controls dynamically to the form using c#.net.

0 Answers  


How do you generate documentation from the C# file commented properly with a command-line compiler?

1 Answers  


Categories