Why generic covariance isn't working on class that implements properly

后端 未结 0 987
心在旅途
心在旅途 2021-01-13 06:06

I\'m trying to study covariance/contravariance, and and I got to a point where I got confused.

Here is my code:

public interface Ia
{
    int B { get;          


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