14 ms·
There is nothing magical about attributes in C#, they are a well defined way to declaratively add meta data to your methods, and I've always found them quite us
by AndrewNCarr 14y ago
There is nothing magical about attributes in C#, they are a well defined way to declaratively add meta data to your methods, and I've always found them quite useful and effective.
Here are a few links that may be insightful on how they work:
http://oreilly.com/catalog/progcsharp/chapter/ch18.html http://oreilly.com/catalog/progcsharp/chapter/ch18.html
http://msdn.microsoft.com/en-us/library/aa288454%28v=vs.71%29.aspx http://msdn.microsoft.com/en-us/library/aa288454%28v=vs.71%2...
http://www.codeproject.com/Articles/2933/Attributes-in-C http://www.codeproject.com/Articles/2933/Attributes-in-C