public void TestF()
{
Test += Fun;
}
public void Fun(Person p) { } // 如 Person变成 SubPerson,则报错。。public void Fun(SubPerson p) { }
public event Action<Person> Test;
2023-12-13 15:00:15
public void TestF()
{
Test += Fun;
}
public void Fun(Person p) { } // 如 Person变成 SubPerson,则报错。。public void Fun(SubPerson p) { }
public event Action<Person> Test;