How to use a list returned from a generic.Invoke() when the type is only known at runtime?

后端 未结 0 1180
执念已碎
执念已碎 2021-02-13 19:31

I am trying to get a list of objects whose type is defined during runtime.

    // foodName can be "Salad", "Pizza" or "Burger"
    p         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题