How To Make Or Mark Method Or Property Obsolete/Deprecated

How To Make Or Mark Method Or Property Obsolete/Deprecated

[code lang=”cpp”]
[Obsolete(“This method is obsolete”)]
public void SomeMethod()
{
//do something;
}
[/code]

Leave a Reply