c#4.0??????? ?????Tuple??
???????????? ???????[ 2013/11/4 15:50:41 ] ????????
????????????????????????
????????????????????????????????create???????????
??????????????????tuple?????8??????????????8?????????????????8????????????????8?????????8????????????tuple??????????????
??????????????????????????????????????
//2 member ??the second type is the nest type tuple.
Tuple<int?? Tuple<int>> test4 = new Tuple<int?? Tuple<int>>(1?? new Tuple<int>(2));
//10 member datatype. nest the 8 parameter type.
Tuple<int?? int?? int?? int?? int?? int?? int?? Tuple<int?? int?? int>> test5 = new Tuple<int?? int?? int?? int?? int?? int?? int?? Tuple<int?? int?? int>>(1?? 2?? 3?? 4?? 5?? 6?? 7?? new Tuple<int?? int?? int>(8?? 9?? 10));
//
Console.WriteLine(test4.Item1 + test4.Item2.Item1);
Console.WriteLine(test5.Item1 + test5.Item2 + test5.Item3 + test5.Item4 + test5.Item5 + test5.Item6 + test5.Item7 + test5.Rest.Item1 + test5.Rest.Item2 + test5.Rest.Item3);
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11