Yes, they can be very safe. There are many examples in ASP.NET where there are static methods. System.Web.HttpUtility is an entire class that contains only static methods (except for methods that it inherits from System.Object ).
The largest red flag to search for is static code that modifies a shared resource (for example, a static property and / or field). You can perform such updates and safely code them, but whenever you see code that modifies a shared resource, this should make you pause and make sure everything is done correctly.
Brian ball
source share