C# Programming - Attributes - Discussion
Discussion Forum : Attributes - General Questions (Q.No. 6)
6.
Which of the following statements are correct about Attributes used in C#.NET?
Discussion:
1 comments Page 1 of 1.
Raman said:
8 years ago
Option 1: the compiler is not looking only one attribute. It looks for other attributes as well. So its false
Option 2: For creating attribute A class is required to implement Attribute So it's false
Option 3: I have not found IAttribute Class :) It should be Attribute Class. So it's false
Option 4: It requires a parameter constructor to set attribute values. So its false
Option 5: E.g Applying XML serialisation Attribute can change the behaviour of object serialisation. So it's true.
Option 2: For creating attribute A class is required to implement Attribute So it's false
Option 3: I have not found IAttribute Class :) It should be Attribute Class. So it's false
Option 4: It requires a parameter constructor to set attribute values. So its false
Option 5: E.g Applying XML serialisation Attribute can change the behaviour of object serialisation. So it's true.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers