Generic method and NRT return type - weird compiler warning

后端 未结 0 1663
予麋鹿
予麋鹿 2020-11-27 17:35

I have the following generic method:

public static T? Foo (string param1, T? param2)
    where T : class, IEnumerable
{
    // ...
}

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