为什么该示例使用System.dll?在示例中哪些没有包括必要的参考? [英] Why the example using System.dll? which does not include the necessary reference in the example?

查看:51
本文介绍了为什么该示例使用System.dll?在示例中哪些没有包括必要的参考?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

SerialPort类中的示例

the example in the SerialPort Class

https://msdn.microsoft.com/zh-CN/library/system.io.ports.serialport(v = vs.110).aspx?cs -save-lang = 1& cs-lang = cpp#示例

让我感到困惑.

makes me feel confused.

在此示例中,它使用System.dll.但是system.dll不包含必要的类,例如:
StringComparer,线程.它们都包含在mscorlib.dll中

为什么?

In this example, it using System.dll. but the system.dll doesn't include the necessary classes like:
StringComparer, Thread. they are all included in mscorlib.dll

why?

推荐答案

好的问题Tyskin.我不知道,所以我搜索并找到了CLR/BCL团队关于堆栈溢出的帖子:https://stackoverflow.com/questions/402582/mscorlib-dll-system-dll

Good question Tyskin.  I did not know so I searched and found a post by the CLR/BCL team on stack overflow: https://stackoverflow.com/questions/402582/mscorlib-dll-system-dll


这篇关于为什么该示例使用System.dll?在示例中哪些没有包括必要的参考?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆