title: Accessing subclass in base class... but different
body: <p>I have a base class that has a subclass (could be a struct i suppose but not sure if it's appropriate) and a method.</p>
  
  <pre><code>class Base 
  {
      protected class SubClass 
      {
          public string word;
          public int number;
      }
  
      protected void SomeMethod()
      {
          this.SubClass.word //this is where I'm struggling
      }
  }
  </code></pre>
  
  <p>Then i have a couple child classes that implement my baseClass, instantiate the Base.SubClass and add some values to the instantiated class.</p>
  
  <pre><code>class ChildClass1 : Base
  {
      public childSubClass = new SubClass();
  
      public void DoSomethingRidiculous()
      {
          childSubClass.word = "WhoFarted";
      }
  } 
  
  class ChildClass2 : Base
  {
      public childSubClass = new SubClass();
  
      public void DoSomethingRidiculous()
      {
          childSubClass.word = "ItStinks";
      }
  }
  </code></pre>
  
  <p>If possible, I would like to be able to get the value of SubClass.word from within the Base class.  I think that my attempt at implementing my idea is probably wrong. </p>