title: How to add item when using List (Of)?
body: <p>I created a class where i declared some properties.</p>
  
  <pre><code>Public Class BlogPost
  
      Dim _postTitleUrl As String = String.Empty
      Dim _pageGUID As String = String.Empty
  
  
      Property postTitleUrl() As String
          Get
              Return _postTitleUrl
          End Get
          Set(ByVal value As String)
              _postTitleUrl = value
          End Set
      End Property
      Property pageGUID() As String
          Get
              Return _pageGUID
          End Get
          Set(ByVal value As String)
              _pageGUID = value
          End Set
      End Property
  End Class
  </code></pre>
  
  <p>Now, I have another class where I want to set the values.</p>
  
  <pre><code>Public Class SetBlogData
  
    Public blogPostList As New List(Of BlogPost)
    Public dataCounter as integer = 0
  
    blogPostList(dataCounter).pageGUID = mainBlogSPWeb.ID.ToString
  </code></pre>
  
  <p>....</p>
  
  <p>This gives me an error about Index was out of range. Hpw can I properly access the properties in BlogPost class?</p>