Obsolete
attribute allows you to mark certain entities as obsolete, thereby discouraging users from using them. However, to convey the full context, it is recommended that you specify the obsolete-message/description. Failing to do so produces a blank line/empty string during the build process and can cause confusion.
[Obsolete]
public static string OldProperty
{ get { return "The old property value."; } }
[Obsolete("This property is obsolete. Use NewProperty instead.")]
public static string OldProperty
{ get { return "The old property value."; } }