title: Simple Question - Shallow Copy (VB.Net)
body: <p>OK, I always get confused about this.</p>
  
  <p>Let's say I have this code.</p>
  
  <pre><code>Public Sub Bar(byRef pMap as clsMap)
  Dim foo as new FooClass()
  pMap.listOfFoo.Add(foo)
  end Sub
  </code></pre>
  
  <p>This would mean that referencing 'Foo' or the item stored in 'listOfFoo' would reference the same object, right?  If I was to change a property of 'foo' - but not change it to a new object - both would still reference and would reflect the updated values?</p>