Why should anonymous types cannot be passed around methods?

后端 未结 6 559
长情又很酷
长情又很酷 2021-01-22 04:27

What is the design decision to lean towards not returning an anonymous types from a method?

6条回答
  •  再見小時候
    2021-01-22 05:03

    At least up to 3.5, anonymous types are actually resolved at compile time, and this would be impossible (or quite hard) to do with anonymous method signatures.

提交回复
热议问题