Restricting a generic to things that can be null

后端 未结 0 1713
粉色の甜心
粉色の甜心 2021-02-11 20:16

I\'d like to restrict a generic I\'m coding to anything that can be null. That\'s basically any class + System.Nullable (e.g. int? and suc

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