To easily manipulate your objects using JavaScript, you can convert them into a JSON string with JsonConvert.
// Add this variable to your class
public string strJson;
...
// Set the value in a relevant method
strJson = Newtonsoft.Json.JsonConvert.SerializeObject(new myList);
After that, all you have to do is make the string accessible on your website.
If you're working with webforms, simply use <%=strJson %>
within a <script>
tag. You could also utilize a Literal control.
For instance:
<script type="text/javascript">
var data = <%=strJson%>;
console.log(data);
</script>
Alternatively, if you're using MVC, employ ViewData["Json"] = strJson;
in your controller and then include @Html.Raw(ViewData["Json"])
within a <script>
tag in your View.
For example:
<script type="text/javascript">
var data = @Html.Raw(ViewData["Json"]);
console.log(data);
</script>