摘要:
IComparable 和 IComparer 的 Sample. 阅读全文
posted @ 2008-02-16 22:08 JieNet 阅读(506) 评论(0) 推荐(0)
|
|||
摘要:
IComparable 和 IComparer 的 Sample. 阅读全文
posted @ 2008-02-16 22:08 JieNet 阅读(506) 评论(0) 推荐(0)
摘要:
如果类实现两个接口,并且这两个接口包含具有相同签名的成员,那么在类中实现该成员将导致两个接口都使用该成员作为它们的实现。例如: interface IControl{ void Paint();}interface ISurface{ void Paint();}class SampleClass : IControl, ISurface{ // Both ISurface.Pa... 阅读全文
posted @ 2008-02-16 18:53 JieNet 阅读(443) 评论(0) 推荐(0) |
|||