码迷,mamicode.com
首页 > Windows程序 > 详细

C#中静态方法

时间:2014-11-10 19:37:17      阅读:181      评论:0      收藏:0      [点我收藏+]

标签:sp   bs   ad   as   res   nbsp   c   方法   c#   

一个类,有静态方法,并不表明这个类是静态类

其次,静态方法,是不能被派生类继承的。

例如:   System.Threading.WaitHandle这个类中的静态方法WaitAll和WaitAny并没有被其派生类AutoResetEvent和ManualResetEvent所继承

C#中静态方法

标签:sp   bs   ad   as   res   nbsp   c   方法   c#   

原文地址:http://www.cnblogs.com/chucklu/p/4087845.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!