GIAC
GSSP-.NET · Question #145
(Topic 2) David works as a Software Developer for GenTech Inc. He defines an interface, named Interface1. Interface1 contains the following code: public interface Interface1 { // Code goes here. }…
The correct answer is A. [ClassInterface(ClassInterfaceType.AutoDual)]. See the full explanation below for the reasoning.
Question
- (Topic 2)
David works as a Software Developer for GenTech Inc. He defines an interface, named Interface1. Interface1 contains the following code:
public interface Interface1 { // Code goes here. } David creates a serviced component, named Component1, which implements Interface1. Which of the following code will he add to Component1 to ensure that it is built properly?
Options
- A[ClassInterface(ClassInterfaceType.AutoDual)]
- B[GuidAttribute("9ED54F84-A89D-4fcd-A854-44251E925F09")]
- C[ClassInterface(ClassInterfaceType.AutoDispatch)]
- Dpublic class Component1 : ServicedComponent, Interface1
How the community answered
(31 responses)- A84% (26)
- B3% (1)
- C10% (3)
- D3% (1)
Community Discussion
No community discussion yet for this question.