Constraints on type parameters with interface and class

后端 未结 0 423
鱼传尺愫
鱼传尺愫 2021-01-13 17:35

I have void Add(TEntity entity) where TEntity : class, ISpecificEntity; I just want use class of specific interface.

what the point

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