Microsoft Exam Questions

You need to ensure that the Products Web Part sends Productid to the ProductDetails Web Part

You plan to create two Web Parts named Products and ProductDetails. You create an interface
that contains the following code segment. Public interface Interface1 { String ProductId { get; } }
You need to ensure that the Products Web Part sends Productid to the ProductDetails Web Part.
You must achieve this goal by using the ASP.NET Web Part connection framework. What should
you do?

A.
Implement Interface1 in the Products Web Part.

B.
Implement Interface1 in the ProductDetails Web Part.

C.
Add a private set-accessor-declaration to the Productid property.

D.
Add a protected set-accessor-declaration to the Productid property.