c# 7.0 lets you do this: var tupleList = new List<(int, string)> { (1, "cow"), (5, "chickens"), (1, "airplane") };. If you don't need a List , but just an ...
確定! 回上一頁