title: strings results into multiline textbox
body: <p>I am been trying to get multiple results in my TextBox and I can't get it right. Could someone please show me an example of displaying this array into a textbox?</p>
  
  <pre><code>public ArrayList GetUserGroups(string sUserName)
  {
      textBox1.Multiline = true;
      ArrayList myItems = new ArrayList();
      UserPrincipal oUserPrincipal = GetUser(sUserName);
  
      PrincipalSearchResult&lt;Principal&gt; oPrincipalSearchResult = oUserPrincipal.GetGroups();
      textBox1.Multiline = true;
      foreach (Principal oResult in oPrincipalSearchResult)
      {
          myItems.Add(oResult.Name);
          textBox1.Text = oResult.Name.ToString();
      }
      return myItems;
  }
  </code></pre>