📅  最后修改于: 2022-03-11 14:49:08.048000             🧑  作者: Mango
public int Method1(string input)
{
return 0;
}
public bool RunTheMethod(Func myMethodName)
{
int i = myMethodName("My String");
return true;
}
public bool Test()
{
return RunTheMethod(Method1);
}