在C#: IPHostEntry IPHost = Dns.GetHostEntry(Dns.GetHostName());
for (int i = 0; i < IPHost.AddressList.Length; i++)
{
textBox1.AppendText("My IP address is: "
+ IPHost.AddressList[i].ToSt
有一个错误在该行上执行显示 An object reference is required for the nonstatic field, method, or property
System.Net.Sockets.TcpClient.Client.get ...
,这是什么错误的解决方案? 代码如下所示。 //Assume myList is an ArrayList
IPAddre