Going thru methods.......array? Enums? What
Ok, so I have a dialog box, with a bunch of edit boxes, all these edit boxes contain information that I am going to store in a class. But I do not want to go box by box and getting the text from them and then calling the class methods one by one.
I want to put them in a for loop or something, but I don't know if this can be done.
for example
Client.[Insert method here with array](parameter here)
Is this possible, I want to do something like and how is this possible.
I don't want to have to do........
Client.SetName(Name);
Client.SetAddress(Address);
instead something to the effect of
Client.[first class name].(buffer);
/*note the parameter would be changed on a loop by loop basis since it is only a buffer that gets filled with every loop from a different edit box. */