Why is the new Tuple type in .Net 4.0 a reference type (class) and not a value type (struct)

Posted by Bent Rasmussen on Stack Overflow See other posts from Stack Overflow or by Bent Rasmussen
Published on 2010-03-09T16:40:05Z Indexed on 2010/05/06 16:08 UTC
Read the original article Hit count: 145

Filed under:
|
|
|

Does anyone know the answer and/or have an oppinion about it?

Since tuples would normally not be very large I would assume it would make more sense to use structs than classes for these. What say you?

© Stack Overflow or respective owner

Related posts about class

Related posts about struct