• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in C Sharp by
Q:
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
asked Oct 18, 2019 in C Sharp by Robin
...