C
C#2y ago
MrScautHD

❔ What Value List allow me to add 3 in it like PAIR

Does anyone know?
8 Replies
MrScautHD
MrScautHDOP2y ago
but not more
Thinker
Thinker2y ago
Elaborate further specifically "3 in it like pair" what do you mean by this?
MrScautHD
MrScautHDOP2y ago
pair has 2 i need something that can save 3
Thinker
Thinker2y ago
List<(int, int, int)> maybe? That's three ints as every element
MrScautHD
MrScautHDOP2y ago
yea oh nvm i found a thing touple
Thinker
Thinker2y ago
Yeah, (int, int, int) is a tuple of three ints
MODiX
MODiX2y ago
thinker227#5176
REPL Result: Success
var t = (1, 2, 3);
t.Item1 + t.Item2 + t.Item3
var t = (1, 2, 3);
t.Item1 + t.Item2 + t.Item3
Result: int
6
6
Compile: 412.814ms | Execution: 33.739ms | React with ❌ to remove this embed.
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server