title: Properties, Arrays and ArrayLists using vb.net
body: <p>In my code behind in my Web project I have a Property<br/></p>
  
  <pre><code>Public Shared UserAttributes(2) As String
      Public Property _UserAttributes(ByVal Index As Integer) As String
          Get
              Return UserAttributes(Index)
          End Get
          Set(value As String)
              UserAttributes(Index) = value
          End Set
      End Property
  </code></pre>
  
  <p>And I also have an <code>ArrayList</code> declared as <code>Friend</code> </p>
  
  <pre><code>Friend UserParameters As New ArrayList
  </code></pre>
  
  <p>I call my property like that:</p>
  
  <pre><code>_UserAttributes(0) = "parameter1"
  _UserAttributes(1) = "parameter2"
  _UserAttributes(2) = "parameter3"
  UserParameters.Add(UserAttributes)
  _UserAttributes(0) = "parameter1,1"
  _UserAttributes(1) = "parameter2,1"
  _UserAttributes(2) = "parameter3,1"
  UserParameters.Add(UserAttributes)
  </code></pre>
  
  <p>From the above code we may see the two pairs of Attributes having one text each one.<br>
  What I need now is: <br>
  After I add the three Attributes from my <code>Property</code> to my <code>ArrayList</code><br>
  The second three Attributes of my property NOT to spoil the first one.<br>
  Which by now that they are doing <br>
  And finally I have two(2) <code>_items</code> in my <code>ArrayList</code> which they have the same text on each <code>_item</code> (which is the last one).<br>
  What I need is to write the second (or more) set of Attributes without spoiling the previous <code>_items</code> from <code>ArrayList</code>.</p>