title: c# how to get element width
body: <p>Is there a way that I can do the equivilant of jQuery's </p>
  
  <pre><code>var myElementWidth = $('.class').width;
  </code></pre>
  
  <p>in c# and store it as a variable to use later.</p>
  
  <p>Any pointers would be welcome.</p>