导航

2011年7月8日

摘要: //多态的例子using System;using System.Collections.Generic;using System.Text;namespace PolymorphisnTest{ class Program { static void Main(string[] args) { Console.WriteLine("老总讲话:大家请肃静,现在刚好08:00整,我们开始开会,请各个部门领导发言:"); //定义存放Company类型的实力 Company[] CArray = new Company[3]; CArray[0] = new Manager() 阅读全文

posted @ 2011-07-08 10:29 beeone 阅读(4441) 评论(0) 推荐(0)