使用System.Net.dll需要哪个引用 [英] which reference is required for using System.Net.dll
问题描述
此命名空间需要引用使用System.Net.dll
我们收到此错误错误1类型或命名空间名称'dll'不存在于名称空间'System.Net'中(您是否缺少程序集引用?)C:\ Users \ LOCUS9 \documents \ visual studio 2010 \Projects \ClientServerPractice \ ClientServerPractice \Program.cs 8 18 ClientServerPractice
如果有人知道,请发送代码获取另一个c#的IP地址
我们已经使用System.Net使用了这个
;
.DLL部分取决于使用声明:
使用 System.Net; $ p $应该做得好。 .DLL部分是包含System.Net命名空间的文件,您只需要它来查找引用文件(您不需要这样做,它是标准.NET程序集的一部分,因此命名空间应该在引用中直接对话)
which reference is required for this namespace" using System.Net.dll "
we getting this error Error 1 The type or namespace name 'dll' does not exist in the namespace 'System.Net' (are you missing an assembly reference?) C:\Users\LOCUS9\documents\visual studio 2010\Projects\ClientServerPractice\ClientServerPractice\Program.cs 8 18 ClientServerPractice
and please send code to get ip address of another in c# if anyone know
we already used this
using System.Net;
Take the ".DLL" part off the using statement:
using System.Net;
should do it fine. The .DLL part is the file containing the System.Net namespace and you only need it to find the reference file (and you shouldn't need to do that, it's part of the standard .NET assemblies so the namespace should be in the reference dialog directly)
这篇关于使用System.Net.dll需要哪个引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!