views:

33

answers:

1

I suspect that there is a lot of work done at low level.

when names are used for tuple elements, do auto-properties get created?

Thanks.

+1  A: 

Are you talking about Anonymous Types?

SLaks
Tuples are described here:http://www.davidhayden.me/2009/12/tuple-in-c-4-c-4-examples.html
Preet Sangha
Yes. Sorry, I know Python better than some newer C# features, so I am influenced by the terminology I know.
Hamish Grubijan
I guess I am thinking of both the Anonymous Types as well as tuples, since Python does not have that differentiation ;)
Hamish Grubijan
`Tuple` is a regular class. Anonymous types generate a hidden class.
SLaks