title: How do you pass variables from c# to javascript?
body: <p>Looking to pass variables from c# to javascript to use some jquery code. Passing doubles, ints, strings, arrays. Does anyone know how to do this?</p>
  
  <p>for example if I have this code snip in c#:</p>
  
  <pre><code>string blah = "this is a blah string";
  </code></pre>
  
  <p>I would like to pass this into javascript so that I could use a mouseover event in jquery:</p>
  
  <pre><code>$('#myDiv').mouseover(function(){ //do something with my 'blah' string });
  </code></pre>