Class and extension method container class in same namespace. What is the benefit?
问题 I was trying NBuilder in my unit test. An excellent library. However, I could not explain the following structure of classes and interfaces. In FizzWare.NBuilder namespace: ISingleObjectBuilder SingleObjectBuilderExtensions In FizzWare.NBuilder.Implementation IObjectBuilder` ObjectBuilder SingleObjectBuilderExtensions is simply a wrapper on IObjectBuilder . The client code should usually use a class named Builder which has a static method that gives you ISingleObjectBuilder . You never need