0 votes
in C Sharp by
Explain Attributes in C#?

1 Answer

0 votes
by
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.
...