title: code writing optimisation
body: <p>I have a class person, with id, name, salary properties.</p>
  
  <pre><code>class person
      friend id as long
      friend name as string
      friend salary as decimal
  end class
  </code></pre>
  
  <p>I wan't to make a list of salaries.</p>
  
  <pre><code>Dim pList as new list(of person)
  </code></pre>
  
  <p>pList is loaded with 50 entries</p>
  
  <pre><code>Dim SalaryList as new list(of decimal)
  for each p as person in plist
      SalaryList.add(p.salary)
  next
  </code></pre>
  
  <p>Ok, this works.
  But is there a way to do it like this :</p>
  
  <pre><code>Dim SalaryList as list(of decimal) = pList(each).salary
  </code></pre>