首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > C# >

请问接口实现的有关问题

2012-01-14 
请教接口实现的问题我定义了一个接口,利用抽象类去实现这个接口,编译时系统提示“系统不会实现接口中的方法

请教接口实现的问题
我定义了一个接口,利用抽象类去实现这个接口,编译时系统提示“系统不会实现接口中的方法”。请问一下是什么原因啊?
接口:
        interface   IBIZZ
        {
                void   GetBizzState(string   strBiCode,   out   List <string>   LStates);
        }


抽象类:
        abstract   class   AbstractBizz:IBIZZ
        {
                public   virtual   void   GetBizzState(string   strBiCode,   out   List <string>   LStates)
                {
               
                }


        }


[解决办法]
關注中
[解决办法]
The abstract keyword enables you to create classes and class members solely for the purpose of inheritance

热点排行