请大家写下接口和抽象类的区别:An abstract class can still have implementation: it can have member variables or non-abstract methods or properties. An interface can't have implementation or member variables.A .NET class can derive from only one base class, even if that base class is abstract. However, a .NET class can implement as many interfaces as required.An abstract class can derive from any other class or from one or more interfaces. An interface can derive only from other interfaces.An abstract class can have nonpublic (protected or private) methods and properties, even if they are all abstract. In an interface, by definition, all members are public.An abstract class can have static methods and static members and can define constants. An interface can have none of those.An abstract class can have constructors. An interface can't.

解决方案 »

  1.   

    Dear All,      您們好! 提醒:1.       由於以往活動太多人遲到,所以今次歡樂穀活動不准遲到、缺席,遲到、缺席的同事名單將貼出點名批評或嚴重處罰;(請切記當天10:30am准時到門口集中)2.       另外臨時有特殊情況不能參加的同事請盡量提前通知,不准找人代替;3.       門票價格:125元/人;4.       天氣預報:多雲、陣雨25-32度(資料由氣象台提供)。5. 參加名單:(共34人)V.F.P:    Manson, Gucci+Queenie, Ricky, Thomas, Jarvis, Viron, Eddy, Carter, William, Cita , Mailin, Jason, Jerry         .Net:     Peter, Anson, Alen,Alex,Rabbit+2, King, Speed,   Support:  Angel+2,Stanley, Tomy,Alan,      Test:    Macy, Lucy, Rachel, Carolyn      Adm.:    Suki 
      

  2.   

    You have done a good work..
      

  3.   

    我知道,Rabbit,请我吃饭我就告诉你