一直在寻找这个,但这有点难以描述所以我只会在这里问。是否可以将void称为字符串?
我认为一个例子会更好地描述它:
//list of voids in the other class
string[] voids = {"expand()", "show()", "yolo()"};
anotherclass class = new anotherclass();
//call to the void named expand inside the other class
class.voids[0]; //??????