New Year Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

GIAC GIAC Secure Software Programmer - C#.NET GSSP-NET-CSHARP Question # 49 Topic 5 Discussion

GIAC GIAC Secure Software Programmer - C#.NET GSSP-NET-CSHARP Question # 49 Topic 5 Discussion

GSSP-NET-CSHARP Exam Topic 5 Question 49 Discussion:
Question #: 49
Topic #: 5

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?


A.

[ClassInterface(ClassInterfaceType.AutoDual)]

public class Component1 : ServicedComponent, Interface1

{

// Code goes here.

}


B.

[GuidAttribute("9ED54F84-A89D-4fcd-A854-44251E925F09")]

public class Component1 : ServicedComponent, Interface1

{

// Code goes here.

}


C.

[ClassInterface(ClassInterfaceType.AutoDispatch)]

public class Component1 : ServicedComponent, Interface1

{

// Code goes here.

}


D.

public class Component1 : ServicedComponent, Interface1

{

// Code goes here.

}


Get Premium GSSP-NET-CSHARP Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.