C# ASP.NET Core - Generic method to return property of type T

前端 未结 0 1574
伪装坚强ぢ
伪装坚强ぢ 2021-02-12 17:23

I want to return a property of Type T passed to my generic function but I cannot find a way to accomplish it. I would like to do something like this (that would actually compile

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