摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace 接口{//Animal //Aquatic 水生动物 //Land 陆地动物 //Fly 会飞的 public interface IRunable { void Run(); } public interface ISwimable { void Siwm(); } public in... 阅读全文
posted @ 2014-04-08 10:05
keiling
阅读(724)
评论(0)
推荐(0)
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace 接口{ public interface IFlyable { void liftoff(); } public class Bird:IFlyable { public virtual void liftoff() { Console.WriteLine("Bird has lift off!!"); ... 阅读全文
posted @ 2014-04-08 10:04
keiling
阅读(294)
评论(0)
推荐(1)
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace 接口{ public interface IWindlows { void Close()... 阅读全文
posted @ 2014-04-08 10:01
keiling
阅读(241)
评论(0)
推荐(1)
浙公网安备 33010602011771号