#a52a2a"> }
}the following application illustrates the user's experience. the call to the redesigned library ( method) is more straightforward, and the information returned by the method is easily managed. the output from the two methods is identical.
[c#]
using system;using designlibrary;
namespace testdesignlibrary{ public class usecomplexmethod { static void usethecomplicatedclass() { // using the version with the ref and out parameters. // you do not have to initialize an out parameter.
string[] reply = new string[5];
// you must initialize a ref parameter. actions[] action = {actions.unknown,actions.unknown, actions.unknown,actions.unknown, actions.unknown,actions.unknown}; bool[] disposition= new bool[5]; int i = 0;