C# Programming - Attributes - Discussion
|
|
|
|
Read more:"We cannot solve our problems with the same thinking we used when we created them."
- Albert Einstein
|
| 2. |
Which of the following are correct ways to specify the targets for a custom attribute? |
| [A]. |
By applying AttributeUsage to the custom attribute's class definition. | | [B]. |
By applying UsageAttribute to the custom attribute's class definition. | | [C]. |
Once an attribute is declared it applies to all the targets. | | [D]. |
By applying AttributeUsageAttribute to the custom attribute's class definition. | | [E]. |
None of the above. |
Answer: Option E
Explanation:
No answer description available for this question.
|
|
|