Exemple #1
0
 public void DoSomeThing2(AUG gun)
 {
     Console.WriteLine("[DoSomeThing2] 运行子类...");
     gun.Shoot();
 }
Exemple #2
0
 public virtual void DoSomeThing(AUG gun)
 {
     Console.WriteLine("[DoSomeThing] 运行父类...");
     gun.Shoot();
 }