C#技术问题 [英] C# technical questions
本文介绍了C#技术问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想使用另一个类的函数和变量...
继承这个类并创建这个类的实例有什么不同?
I want to use functions and variables of another class...
What is the different between inherit this class and create a instance of this class?
推荐答案
阅读这些(也许可以在oop上得到一些好书)...
http://msdn.microsoft.com/en-us/library/ms173149.aspx [ ^ ]
http://msdn.microsoft.com/en-us/library/vstudio/x9afc042.aspx [ ^ ]
Read these (and maybe get some good book on oop)...
http://msdn.microsoft.com/en-us/library/ms173149.aspx[^]
http://msdn.microsoft.com/en-us/library/vstudio/x9afc042.aspx[^]
例如,参见IS-A和。之间的区别HAS-A关系 [ ^ ]。
这篇关于C#技术问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文