Vote UpVote

Marking code as obsolete/deprecated in C# and Delphi

The Wiert Corner – During any software life cycle, you will want to phase out some code, and most likely want to mark code to be phased out in the future. So here are two examples on how to do that in C# and in Delphi that just shows the effects of obsoleting/deprecating code. C# On the C#/.NET side of things you can mark code to be phased out with the Obsolete attribute that got introduced in C# 1.1 in Visual Studio 2003. It even allows you to add a string directing you to more appropriate usage patterns. You can even indicate if this should just be a warning, or that the compiler should issue an error. Though ...
Favorite? Off-Topic? jpluimers @ 2015-04-07 07:00


Visits: 1007
Votes: 1
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)