title: Returning a set of values from JS to C#
body: <p>I have a function that returns an element's top and left position, like so </p>
  
  <pre><code>    $(function GetPos(El) {
        var Offset = $(El).Offset();
        var Top = Offset.Top;
        var Left = Offset.Left;
        return { x: Top, y: Left };
    });
  </code></pre>
  
  <p>I need to be able to assign and store those values using <code>C#</code>. I think <code>Ajax</code> could be the answer, but I don't know how I would set it up.</p>
  
  <p>I'd like to do something like:</p>
  
  <pre><code>    Int Top = someAjax[1];
  </code></pre>