C# 语言特性系列(7) 深入理解抽象方法 abstract

Although an abstract method is implicitly also a virtual method, it cannot have the modifier virtual.

 

 1  public abstract class Thought
 2     {
 3         public abstract void Poise();
 4     }
 5 
 6     public class QThought : Thought
 7     {
 8         public override void Poise()
 9         {
10             //work
11         }
12     }

 

http://msdn.microsoft.com/en-us/library/aa664435(VS.71).aspx 

posted @ 2008-07-22 10:09  许晓光  阅读(170)  评论(0编辑  收藏  举报