marking method or property as depricated

  • Thread starter Thread starter lucky
  • Start date Start date
L

lucky

Hi guys,
i want to mark some of my methods and properties as DEPRICATED. is it
possible to do that? and if possible, then how would i do that?

i would appricate any help.

Lucky
 
lucky said:
i want to mark some of my methods and properties as DEPRICATED. is it
possible to do that? and if possible, then how would i do that?

i would appricate any help.

Use System.ObsoleteAttribute. See MSDN for more information.
 
Hi guys,
i want to mark some of my methods and properties as DEPRICATED. is it
possible to do that? and if possible, then how would i do that?

i would appricate any help.

Try the "Obsolete" attribute. You can configure that to be either a
warning or an error.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top