What is Obsolete in Bug life cycle?
I want to know what is Obsolete in Bug life cycle?
1 Answer
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
Scott LysleRank #49 · 31K reputationPosted Oct 5, 2012, 6:40 PM EDT
[System.Obsolete(string argument 1, Boolean argument 2)
Argument 1 is a warning statement to display such as, "Hey stop using this! Use my brand new method instead."
Argument 2 is a Boolean that if set to true will issue an error instead of a warning. This argument is optional and it defaults to display a warning instead of an error.
Use this if you want to inform developers to use a new replacement method when the old method is left in place to keep old code that might be using the old method from breaking.