title: passing c# array to java script
body: <p>I have an array in my page_load in c# which i want to access in java script but don't know how to do that..</p>
  
  <pre><code>float [] energyArray = new float[count];
  for (int i = 0; i &lt; count; i++)
  {
      energyArray[i] = energyObj[i].FwdHr;
  }
  </code></pre>
  
  <p>Now i want to access in javascript in place of data- </p>
  
  <pre><code>series: [{
      name: 'Tokyo',
      data: [7.0, 6.9, 9.5, 14.5, 18.2, 21.5, 25.2, 26.5, 23.3, 18.3, 13.9, 9.6]
  }]       
  </code></pre>