We're currently working on a Web-API project written in C#. It contains a lot of static outer classes that have non-static nested classes. Something like
public static class OuterClass
{
public class InnerClass : ParentClass
{
}
}
This pattern is used regularly throughout the project, hence my question. Are there any pitfalls in using a static outer class that has a non-static nested class? Let alone, using a lot of them throughtout the application?