title: Why doesn't the Locals window in Visual Studio show variable.Length?
body: <p>I have the following C# variable and code:</p>
  
  <pre><code>string word;
  ...
  if (word.Length &gt; width)
  ...
  </code></pre>
  
  <p>During debugging in Visual Studio 2010, the Locals window shows <code>word</code> but <code>word.Length</code> is only available as a DataTip.  Why is this, and is there a way to have the Locals window show such attributes as Length?</p>
  
  <p>I am on Windows 7, Visual Studio 2010.</p>