Comparing a class that inherits an interface to an interface reference

前端 未结 0 1934
轮回少年
轮回少年 2020-12-16 13:58

In my class ClassA : ISomeInterface i have:

if(entity.Target == this)

With Target in entity defined as

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