摘要:
http://www.cnblogs.com/notifier/archive/2010/05/14/1735235.html1. C#中方法覆盖时override和new的比较 C#中override关键字使用在虚函数(virtual method)和抽象函数(abstract method)的覆盖上; C#中new关键字使用在派生类覆盖父类的"普通"函数上(也就是说非虚函数非抽象函数的情境下) 下面是代码示例:(override的用法见下面abstract和virtual比较的章节)using System;using System.Collections.Generi 阅读全文
posted @ 2013-03-22 10:19
runliuv
阅读(228)
评论(0)
推荐(0)

浙公网安备 33010602011771号