InterviewSolution
Saved Bookmarks
| 1. |
Select the correct statement about Attributes used in C#.NET?(a) The CLR can change the behaviour of the code depending on attributes applied to it(b) If a bugFixAttribute is to receive three parameters, then the BugFixAttribute class should implement a zero argument constructor(c) To create a custom attribute we need to create a custom attribute structure and derive it from System.Attribute(d) None of the mentionedThe question was posed to me in an internship interview.I would like to ask this question from Attributes in chapter Console I/O Operations and Stream Classes of C# |
|
Answer» CORRECT answer is (a) The CLR can change the BEHAVIOUR of the CODE depending on attributes applied to it Easy explanation - NONE. |
|