title: .NET - When should I use a property vs. variable + accessor function?
body: <p>Is there ever a situation where I should do the following in .NET instead of using a property with read/write capability?</p>
  
  <pre><code>private S as string
  
  public function GetS() as string
       return S
  end function
  
  public sub SetS(byval NewS as string)
      S = NewS
  end function
  </code></pre>
  
  <p>Do properties simply provide a more efficient way for doing the same thing?</p>
  
  <p>Will properties be any slower than the above accessor functions in a high performance application?</p>