title: How to add items to a System.Collections.Generic.List object using PowerShell?
body: <p>I have an object that has a <code>List&lt;String&gt;</code> as a member.  I tried adding items to this list in the following way:</p>
  
  <pre><code>$myObject.MyList.Add("News")
  $myObject.MyList.Add("FAQ")
  $myObject.MyList.Add("Events")
  </code></pre>
  
  <p>But when I check:</p>
  
  <pre><code>$myObject.MyList.Count
  </code></pre>
  
  <p>It returns 0.  Is there a different way I should be doing this?</p>
  
  <p>Snippit from my source code:</p>
  
  <pre><code>    [Personalizable(PersonalizationScope.Shared), WebBrowsable(false)]
      public List&lt;String&gt; SelectedTabs
      {
          get;
          set;
      }
  </code></pre>