I want to use a Tuple with 11 values; I seem to be able to set it up but can't read it as it does not compile. The code is as follows.
In frmFoodPantry, the called routine.
var intTuple = new Tuple<int, int,="" int="">(intMonth, intDay, intYear);
var returnArray = new Tuple<bool, bool,="" string,="" tuple="" <int,="" int,="" int="">> (isMonth, isDay, isYear, Month, Day, Year, dateOut, intTuple);
return returnArray;
In frmRegisterInput, the calling routine.
Tuple<bool, bool,="" string,="" tuple<="" int,="" int="">>
returnParseDate = new Tuple<bool, bool,="" string,="" int,="" int="">
(isMonth, isDay, isYear, wsMonth, wsDay, wsYear, strDate ,intShMonth, intShDay, intShYear);
returnParseDate = frmFoodPantry.ParseDate(returnDate, "MMM dd yyyy", dtLastDate);
isMonth = returnParseDate.Item1;
isDay = returnParseDate.Item2;
isYear = returnParseDate.Item3;
wsMonth = returnParseDate.Item4;
wsDay = returnParseDate.Item5;
wsYear = returnParseDate.Item6;
strDate = returnParseDate.Item7;
intShMonth = returnParseDate.Rest.Item1;
intShDay = returnParseDate.Rest.Item2;
intShYear = returnParseDate.Rest.Item3;
What I have tried:
Tuple<bool, bool,="" string,="" tuple<="" int,="" int="">>
returnParseDate = new Tuple<bool, bool,="" string,="" int,="" int="">
(isMonth, isDay, isYear, wsMonth, wsDay, wsYear, strDate ,intShMonth, intShDay, intShYear);