static OneList MakeList (int length) { OneList rest = null; for (int i = 0; i < length; ++i) { OneList first = new OneList (); first.next = rest; rest = first; } return rest; }
static OneList MakeList(int length) { OneList rest = null; for (int i = 0; i < length; ++i) { OneList first = new OneList(); first.next = rest; rest = first; } return(rest); }