📅  最后修改于: 2022-03-11 14:49:06.495000             🧑  作者: Mango
partial class MyClass {
partial void Foo();
}
// This can be in another file
partial class MyClass {
partial void Foo() {
Console.WriteLine("Foo");
}
}