The Obsolete Attribute

I’m sure most .Net developers haven’t had the need for this little tidbit, but when the time comes, it will come in handy.

You can use the Obsolete Attribute to decorate types and members of types that are obsolete and will cause compiler warnings to be generated if that type or member is used. It’s a great way to remind developers that a particular object is changing, and the functionality they are using will be going away in a future release.

This definitely cool, because we all know that developers actually read the documentation that comes with the components they use.

DonXML

[Listening to: Harms Way - Anthrax ]

1 Comment

Comments have been disabled for this content.