foreach(typeoffeedback t in enum.getvalues(typeof(typeoffeedback))) { // the call to the library. disposition[i] = badrefandout.replyinformation( t, out reply[i], ref action[i]); console.writeline("reply: {0} action: {1} return? {2} ", reply[i], action[i], disposition[i]); i++; } }
static void usethesimplifiedclass() { replydata[] answer = new replydata[5]; int i = 0; foreach(typeoffeedback t in enum.getvalues(typeof(typeoffeedback))) { // the call to the library. answer[i] = redesignedrefandout.replyinformation(t); console.writeline(answer[i++]); } }