1.

Which of the following statements are correct about Attributes used in C#.NET?

A. If there is a custom attribute BugFixAttribute then the compiler will look ONLY for the BugFix attribute in the code that uses this attribute.
B. To create a custom attribute we need to create a custom attribute structure and derive it from System.Attribute.
C. To create a custom attribute we need to create a class and implement IAttribute interface in it.
D. The CLR can change the behaviour of the code depending upon the attributes applied to it.
Answer» E.


Discussion

No Comment Found

Related MCQs