What is attributes in c#?
c#
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Yadagiri ReddyRank #773 · 3K reputationPosted Oct 27, 2014, 11:32 AM EDT
http://msdn.microsoft.com/en-in/library/aa287992(v=vs.71).aspx
Ajay YadavRank #313 · 8.1K reputationPosted Oct 27, 2014, 5:58 PM EDT
Attributes are type's derived from the System.Attribute class. This is an abstract class defining the required services of any attribute. Here is the syntax of an attribute as following;
[ Type: attributeName(parameter1, parameter2,………n)]