While studing to the 70-536 exam I faced this question:
You create the following class:
public class HomePage{
public StringBuilder currentHeadlines;
private string welcomMessage;
Array stockTickers;
Dictionary<int, string> priorityList;
}
You need to generate a type library for this class. The type library will be used by unmanaged codes.
What member should you update?
A. private string welcomMessage.
B. public StringBuilder currentHeadlines.
C. Array stockTickers.
D. Dictionary priorityList. (Correct)
Why would be the option D the correct one, once this member is private?
I know that generic types cannot be exposed to com, but I also know that only public members are exposed. Can anyone clarify me?