title: How to add to array in C# dynamically
body: <p>In response to this answer... <a href="https://stackoverflow.com/questions/9007434/access-mvc3-model-properties-from-javascript-in-the-view">Access MVC3 Model properties from Javascript in the View</a> I'd like to know how I can construct the data for the view model in that example dynamically, without having to hardcode. i.e. I'd like to be able to do model.Values.Add(...)</p>