本文介绍了静态与创建类的实例-Winform的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你能告诉我吗
1-何时在另一个上使用
2-一个相对于另一个的优缺点
3-何时创建静态类?什么时候调用该类或何时编译该程序?
Hi,
Can you please let me know
1- when to use one over the other
2- Advantages/disadvantages of one over the other
3- When does the static class get created? when the class is called or when the program is compiled?
Thanks
推荐答案
这篇关于静态与创建类的实例-Winform的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!