Why should anonymous types cannot be passed around methods?

后端 未结 6 557
长情又很酷
长情又很酷 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 04:57

    How can you use your type inside your method if the definition is only in the call of the method ?

    It's not javascript.

提交回复
热议问题