Do adding properties to an interface prevent creating private/protected “set” in derived types?

后端 未结 2 612
长情又很酷
长情又很酷 2020-12-16 11:53

Edit: It turns out I missed something obvious, but I\'m going to leave the question open in case someone else makes the same obvious mistake. Thanks to

2条回答
  •  醉酒成梦
    2020-12-16 12:50

    It's possible on interfaces, but not on abstract/virtual properties - you may have these two mixed up.

提交回复
热议问题