title: Why can C# static classes contain non-static classes/structs?
body: <p>I've recently started learning C# and I'm confused about something. The <a href="https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/static-classes-and-static-class-members" rel="nofollow noreferrer">documentation</a> for static classes tells me that they can only contain static members. Yet I can define non-static nested classes and structs within my static class.</p>
  
  <p>I'm guessing that class/struct definitions don't count as <em>members</em>, but why is this allowed? If a nested class of a static class can be instantiated, doesn't that contradict the point of a static class? Am I misunderstanding something obvious here?</p>