what is the inconveniences of using static property or method in OO approach?
c#, oop
Solution
I think the worst thing about using statics is that you can end up with tight coupling between classes. See the ASP.NET before System.Web.Abstractions came out. This makes your classes harder to test and, possibly, more prone to bugs causing system-wide issues.
Problem
I need to explain myself why I do not use static methods/propertis. For example, ``` String s=String.Empty; ``` is this property (belongs to .Net framework) wrong? is should be like? ``` String s= new EmptySting(); ``` or ``` IEmptyStringFactory factory=new EmptyStringFactory(); String s= factory.Create(); ```