Is there any risk/issues defining a virtual/abstract method as public in C#

后端 未结 0 1084
忘了有多久
忘了有多久 2021-01-24 04:45

As per the C# design guidelines, public methods should not be virtual. Instead define a public (non- virtual) method that in turn calls a protected virtual/abstract

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