1.

Which of the following are correct ways to specify the targets for a custom attribute?

A. By applying AttributeUsage to the custom attributes class definition.
B. By applying UsageAttribute to the custom attributes class definition.
C. Once an attribute is declared it applies to all the targets.
D. By applying AttributeUsageAttribute to the custom attributes class definition.
Answer» E.


Discussion

No Comment Found

Related MCQs