Skip to content

Attributes

IT Notes → C# @ December 22, 2020

  • Attributes are an extensible mechanism for adding custom information to code elements.
  • Named attribute are parameters for attribute type’s constructor.
  • Positional attributes are public fields or properties.
  • [AttributeUsage (AttributeTargets.Method)] 
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x