Implicit operator accessing property of the other type

前端 未结 0 380
情歌与酒
情歌与酒 2020-12-29 07:00

I may be missing the obvious but I can\'t get this to work:

class V { 
    public int X;
    public V() => X=0;
}

class C {
    public T t;
    p         


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