2004年10月19日

摘要: 在学习接口继承的时候发现书上有这么个例子,看了之后晕死了,是不是以后就不用值类型了呢?usingSystem;//定义Change方法的接口interfaceIChangeBoxedPoint{voidChange(Int32x,Int32y);}//让Point值类型实现IChangeBoxedPoint接口structPoint:IChangeBoxedPoint{publicInt32x,y... 阅读全文

posted @ 2004-10-19 14:11 鲁旭 阅读(1140) 评论(3) 推荐(0) 编辑


Copyright © 2024 鲁旭
Powered by .NET 8.0 on Kubernetes