Generic overload for struct does not call correct method

后端 未结 0 657
傲寒
傲寒 2021-01-05 16:56

I have the following two methods:

public static T Foo (this ISomething smth, string param) where T : struct { ... }
public static T? Foo (th         


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