﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-leign-文章分类-C#</title><link>http://www.cppblog.com/leign/category/11398.html</link><description>Contact:
Email: leign.du@gmail.com
MSN:  dujiali1987@msn.cn</description><language>zh-cn</language><lastBuildDate>Wed, 05 Aug 2009 21:29:56 GMT</lastBuildDate><pubDate>Wed, 05 Aug 2009 21:29:56 GMT</pubDate><ttl>60</ttl><item><title>[C#]virtual, abstract, sealed, override</title><link>http://www.cppblog.com/leign/articles/92104.html</link><dc:creator>leign</dc:creator><author>leign</author><pubDate>Mon, 03 Aug 2009 15:40:00 GMT</pubDate><guid>http://www.cppblog.com/leign/articles/92104.html</guid><wfw:comment>http://www.cppblog.com/leign/comments/92104.html</wfw:comment><comments>http://www.cppblog.com/leign/articles/92104.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/leign/comments/commentRss/92104.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/leign/services/trackbacks/92104.html</trackback:ping><description><![CDATA[<span style="FONT-SIZE: 14pt">abstract<br>&nbsp;&nbsp;&nbsp;in order to create some difference sub_classes---实现多态<br>sealed<br>&nbsp;&nbsp;&nbsp;in order to prevent from being inherited---防止被继承<br>override<br>&nbsp;&nbsp;&nbsp;提供基类方法的新实现，重写<br>virtual<br>Virtual 关键字允许在派生类中重写这些对象，默认情况下，方法是非虚拟的，不可以重写非虚方法，virtual关键字不可以与static、abstract、private、override一起使用。Virtual关键字又是和override紧密不可分的，如果要实现Virtual方法就必须要使用override或new关键字（new和override产生的机理不同）。</span> 
<img src ="http://www.cppblog.com/leign/aggbug/92104.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/leign/" target="_blank">leign</a> 2009-08-03 23:40 <a href="http://www.cppblog.com/leign/articles/92104.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>