C# —— 继承

一、为什么要用继承

  1. 代码复用,避免重复。
  2. 一处更新,处处更新。

猜你喜欢

转载自www.cnblogs.com/xulinjun/p/12147230.html