C# Programming - Attributes - Discussion
Discussion Forum : Attributes - General Questions (Q.No. 15)
15.
Attributes can be applied to
- Method
- Class
- Assembly
- Namespace
- Enum
Discussion:
2 comments Page 1 of 1.
Abcd said:
1 decade ago
This isn't correct, for example the FlagsAttribute can be applied to an enum.
Pratyusha said:
1 decade ago
Can attributes be applied to member variables?
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers