在C#中覆盖静态Calss [英] Override static calss in c#
本文介绍了在C#中覆盖静态Calss的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
谁能告诉我如何在C#3.5中覆盖静态校准.等待答复.
问候,
Shameen
Hello All,
Can any one tell me how to override static calss in c# 3.5.Waiting for reply.
Regards,
Shameen
推荐答案
您不能-静态项目不能被覆盖.有一个很好的解释为什么不在这里: http ://blogs.msdn.com/b/kirillosenkov/archive/2008/02/06/how-to-override-static-methods.aspx [
You can''t - static items cannot be overridden. There is a good explanation why not here: http://blogs.msdn.com/b/kirillosenkov/archive/2008/02/06/how-to-override-static-methods.aspx[^]
这篇关于在C#中覆盖静态Calss的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文