2 ms·
Consider using the [Obsolete] attribute on methods or other entities you don't want people to keep using: https://docs.microsoft.com/en-us/dotnet/api/system.obs
by ivraatiems 6y ago
Consider using the [Obsolete] attribute on methods or other entities you don't want people to keep using: https://docs.microsoft.com/en-us/dotnet/api/system.obsoleteattribute?view=net-5.0 https://docs.microsoft.com/en-us/dotnet/api/system.obsoletea...
This results in syntax highlighting in Visual Studio and warnings on compilation when somebody tries to use the method.