Login
Remember
Register
Ask a Question
Explain Attributes in C#?
0
votes
asked
Oct 18, 2019
in
C Sharp
by
Robin
Explain Attributes in C#?
explain-attributes
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Oct 18, 2019
by
rajeshsharma
Attributes are used to convey the info for runtime about the behavior of elements like – “methods”, “classes”, “enums” etc.
Attributes can be used to add metadata like – comments, classes, compiler instruction etc.
...