静态类的缺点 [英] disadvantages of static classes
本文介绍了静态类的缺点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请问您对此主题有何想法?
何时/不应该使用它?
谢谢
Any thoughts on this topic in the subject please?
When should/shouldn''t it be used?
Thanks
推荐答案
阅读这些内容:
http://msdn.microsoft.com/en-us/library/79b3xss3%28v = vs.80%29.aspx [ ^ ]
http://leedumond.com/blog/singletons-vs-static-classes/ [ ^ ]
http://www.dotnetspider.com/forum/158300- static-class-why-you-need-stataic-class.aspx [
Read these :
http://msdn.microsoft.com/en-us/library/79b3xss3%28v=vs.80%29.aspx[^]
http://leedumond.com/blog/singletons-vs-static-classes/[^]
http://www.dotnetspider.com/forum/158300-static-class-why-you-need-stataic-class.aspx[^]
google是否要求对您所在地区的搜索收取高额费用?
检查这些:
http://msdn.microsoft.com/en-us/library/79b3xss3.aspx [ ^ ]
when-to-use-static-classes-in-c-sharp [ ^ ]
介绍C#2.0静态类 [
Does google is asking heavy charge for search in your area?
check these out:
http://msdn.microsoft.com/en-us/library/79b3xss3.aspx[^]
when-to-use-static-classes-in-c-sharp[^]
Introducing C# 2.0 static classes[^]
hope it helps :)
这篇关于静态类的缺点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文