摘要:
using System; using System.Collections.Generic; using System.Text; namespace 继承 { class Program { static void Main(string[] args) { Vertebrate vertebr 阅读全文
posted @ 2019-12-19 16:31
萧静默
阅读(358)
评论(0)
推荐(0)
摘要:
Protected 在基类中定义后,能被派生类调用,但是不能被其他类调用。 virtual 在基类中定义后,在派生类中能被重写。 using System; using System.Collections.Generic; using System.Text; namespace 继承 { cla 阅读全文
posted @ 2019-12-19 15:26
萧静默
阅读(1090)
评论(0)
推荐(0)

浙公网安备 33010602011771号