C# 语言特性系列(5) 深入理解重写方法 override

The method overridden by an override declaration is known as the overridden base method. For an override method M declared in a class C, the overridden base method is determined by examining each base class of C, starting with the direct base class of C and continuing with each successive direct base class, until an accessible method with the same signature as M is located.

 

 

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

posted @ 2008-07-21 14:58  许晓光  阅读(179)  评论(0编辑  收藏  举报