C# Attribute to Mark a Method as "Deprecated"


/ Published in: C#
Save to your folder(s)



Copy this code and paste it in your HTML
  1. [Obsolete("This method is totally bogus")]
  2. public void DoStuff()
  3. {
  4. }

Report this snippet


Comments


You need to login to view comments.