可见上述方式造成了很大的代码冗余 为了减少代码冗余,我们使用虚方法 运行结果同上面一样 Read More
posted @ 2017-09-29 20:01 mCat Views(185) Comments(0) Diggs(0) Edit
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 子类与父类的相互转换 { class Program { static void Main(string[] a... Read More
posted @ 2017-09-29 18:51 mCat Views(692) Comments(0) Diggs(0) Edit
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 子类与父类的相互转换 { class Program { static void Main(string[] a... Read More
posted @ 2017-09-29 11:34 mCat Views(6193) Comments(0) Diggs(1) Edit