title: Can't declare lists in VB.NET?
body: <pre><code>Dim lstNum As New List(Of Integer)(New Integer() { 3, 6, 7, 9 })
  </code></pre>
  
  <p>When I type the above line of code, Visual Studio informs me of an error</p>
  
  <blockquote>
    <p>'Microsoft.Office.Interop.Word.List' has no type parameters and so cannot have type arguments.</p>
  </blockquote>
  
  <p>What on earth does that mean and how do I fix it? I can't seem to create lists of any kind. I'm assuming I'm missing some sort of import but I'm not fluent with VB.Net enough to know what to try.</p>