Pass C# ASP.NET array to Javascript array
<p>Does anyone know how to pass a C# ASP.NET array to a Javascript array? Sample code will also be nice.</p>

<p>Sorry if I was vague earlier guys. The question is actually quite simple. Let's say for simplicity that in my aspx.cs file I declare:</p>

<p><code>int [] numbers = new int[5];</code></p>

<p>now I want to pass "numbers" to the client side and use the data in the array within javascript. How would I do this?</p>
