Friday, September 12, 2014

Foo[0].Bar

Would be a good name for a form field at a form which posts to a Web API Post method which at its signature expects an object which has a property called "Foo" which is a collection of a type of which has a property called "Bar." The first of the Foo collection would get its Bar value set to the value of the form field in this circumstance.

No comments:

Post a Comment