示例#1
0
 /// <summary>
 /// 接口多态实现1:接口作为传递参数类型,实际上传递的是接口的实现类对象
 /// </summary>
 /// <param name="meeting"></param>
 private static void Test02(IMeeting meeting)
 {
     meeting.Speech();
     Console.WriteLine(meeting.Talk("组织考试"));
 }