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.

Related questions

+1 vote
0 votes
asked Oct 18, 2019 in C Sharp by Robin
0 votes
0 votes
asked Oct 18, 2019 in C Sharp by Robin
...