C# Programming - Attributes
Exercise : Attributes - General Questions
- Attributes - General Questions
1.
The [Serializable()] attribute gets inspected at
2.
Which of the following are correct ways to specify the targets for a custom attribute?
3.
Which of the following are correct ways to pass a parameter to an attribute?
- By value
- By reference
- By address
- By position
- By name
4.
Which of the following statements are correct about inspecting an attribute in C#.NET?
- An attribute can be inspected at link-time.
- An attribute can be inspected at compile-time.
- An attribute can be inspected at run-time.
- An attribute can be inspected at design-time.
5.
Which of the following is correct ways of applying an attribute?
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers