title: C# static member class with members
body: <p>I have some classes with a static member:</p>
  
  <pre><code>class BuildingA{
     static BuildableComponent buildableA;
  }
  
  class BuildingB{
     static BuildableComponent buildableB;
  }
  </code></pre>
  
  <p>This static member has it's own members:</p>
  
  <pre><code>class BuildableComponent{
      int cost;
  }
  </code></pre>
  
  <p>I would like to be able to manipulate the members of the static via the BuildingA and BuildingB classes, eg A.buildableA.cost and B.buildableB.cost - the way I've described it doesn't quite work, but is there a way to do this?    </p>