title: Initializing a Collection Class
body: <p>Is there a way to have a class collection of inherited types be initialized?</p>
  
  <p>For example, here is my code:</p>
  
  <pre><code>Public Class CamryCar
      Property Name As String = "Camry"
      Property Color As String
  End Class
  
  Public Class RedCamry
      Inherits CamryCar
      Sub New()
          MyBase.New()
          Color = "Red"
      End Sub
  End Class
  
  Public Class BlueCamry
      Inherits CamryCar
      Sub New()
          MyBase.New()
          Color = "Blue"
      End Sub
  End Class
  </code></pre>
  
  <p>What I'm doing today for a colllection is:</p>
  
  <pre><code>Public Class Camrys
      Property Cars As New List(Of CamryCar) From {New RedCamry, New BlueCamry}
  End Class
  </code></pre>
  
  <p>But this gives me an extra property of <code>Cars</code>.</p>
  
  <p>I can also do this:</p>
  
  <pre><code>Public Class Camrys
      Inherits List(Of CamryCar)
  End Class
  </code></pre>
  
  <p>I prefer this one as I don't have an extra property to deal with. But I can find a way to initialize that that list with objects of <code>RedCamry</code> and <code>BlueCamry</code>.</p>
  
  <p>Is it impossible or is there another way to do this?</p>