把类实例自身作为参数时可以访问保护方法! 人工智能 如下代码:public class Foo{ private string name; public void Test(Foo foo) { Console.Writeline(foo.name); }}