What is the C# equivalent to PHP's “self::”?

后端 未结 5 1314
情深已故
情深已故 2021-01-04 12:46

In C# when I want to call a static method of a class from another static method of that class, is there a generic prefix that I can use such as PHP\'s

5条回答
  •  情书的邮戳
    2021-01-04 13:48

    No, there isn´t. But with the refactor tools, changing a name of a class should not worry you too much.

提交回复
热议问题