Skip to content
Discussion options

You must be logged in to vote

No. There is no way to express an unknown variety of tuple because they are totally different types, and considered unrelated in CLR type system. You have to write your own helper to switch on length.

It's better if the names can be preserved.

This will never be possible. Names of tuple elements don't really exist at all.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by metaone01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants