sqlserver教程网

当前位置: 主页 > 编程语言 > c# >

c# 接口 的使用演示

时间:2018-10-12 18:32来源:www.sqlserver.net.cn 作者:admin 点击:
shoesuser shs = new shoesuser( new antaclass () ); shs.brand(); Console.ReadKey(); ,只要修改 antaclass 为 nikeclass 就可以实现 nikeclass的实例化对象调用方法了。



            shoesuser shs = new shoesuser(new antaclass ());
 
            shs.brand();
            Console.ReadKey();   

,只要修改 antaclass 为 nikeclass 就可以实现 nikeclass的实例化对象调用方法了。
(责任编辑:admin)
顶一下
(0)
0%
踩一下
(0)
0%
------分隔线----------------------------
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
验证码: 点击我更换图片