adplus-dvertising
frame-decoration

Question

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 recieve three paramteres, then the BugFixAttribute class should implement a zero arguement 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 mentioned

Posted under C# programming

Answer: (a).The CLR can change the behaviour of the code depending on attributes applied to it

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Select the correct statement about Attributes used in C#.NET?

Similar Questions

Discover Related MCQs

Q. The correct way to apply the custom attribute called Employer which receives two arguements – name of the employee and employeeid is?

Q. Which of the following is the correct statement about inspecting an attribute in C#.NET?

Q. Attributes could be applied to

Q. The [Serializable()] attributes gets inspected at:

Q. Which of the classes provide the operation of reading from and writing to the console in C#.NET?

Q. Which of the given stream methods provide access to the output console by default in C#.NET?

Q. Which of the given stream methods provide the access to the input console in C#.NET?

Q. The number of input methods defined by the stream method Console.In in C#.NET is?

Q. Select the correct methodS provided by Console.In?

Q. Choose the output returned when read() reads the character from the console?

Q. Choose the output returned when error condition is generated while read() reads from the console.

Q. Choose the object of TextReader class.

Q. Choose the object/objects defined by the Textwriter class.

Q. Choose the methods provided by Console.Out and Console.Error?

Q. Name the exception thrown by read() on failure.

Q. Which of these methods are used to read single character from the console?

Q. Which of these method used to read strings from the console?

Q. Which among the following methods are used to write characters to a string?

Q. Which method in Console enables to read individual inputs directly from the keyboard in a non line buffered manner?

Q. What is the output returned by Console if ReadLine() stores I/O error?