Is it possible to get the name of another method in the same class, but without using a manually written string?
class MyClass { private void doThis() {
You may ask why: well, the reason is that I have to call the method later, like this Invoke ("otherMethod"), but I donโt want to hardcode this line, because I cannot reorganize it within the project.
source share