NetBlog主题

C#抽象方法实例
C#基础

C#抽象方法实例

1191 0

using System; using System.Collections.Generic; using System.Text;namespace 抽象方法练习 {class Program{static void Main(string[] args){Computer dev = new Computer();MP3 mp3 = new MP3();YDDisk yd = new YDDisk();dev.dev = yd;dev.dev.Read();//输入是移动硬盘在…