Question:

Explain Attributes in C#?

Answer:

  • 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.

Keywords:

© 2017 QuizBucket.org