Greetings,
I'm passing a form to a class in Asp.net and was wondering is there anyway to pass the number of fields from the form to the class?
Currently I have
foo(param1, param2, param3, param4, param5) {};
wondering if I could just do
foo() { formData.split }
Obviously I could just make a data object and pass that to the class. Just wondering if there is already soemthing in Asp.net that does this.
Thanks