Jake Hallon

Jake Hallon

  • NA
  • 5
  • 0

anonymous object

Apr 29 2009 3:50 PM
If you define an object like: var test = new { firstParam = "testing", secondParam = "testing" }; Is there a way of iterating over the parameters? Something like foreach(Param p in test) { //do something } Thanks for any help.

Answers (3)