title: How to string.Join result of GetHostAddresses call?
body: <p>Im tring to join the string to display in the messagebox, but not sure why I get error at this line:  </p>
  
  <pre><code>IPAddress[] ips = Dns.GetHostAddresses(he.HostName);
  var addr = string.Join(",",ips); // the error display invalid argument.
  MessageBox.Show(addr);
  </code></pre>
  
  <p>I know this sound basic. But I'm new in this, can someone help me?</p>
  
  <p>Error:</p>
  
  <blockquote>
    <p>The call is ambiguous between the following methods or properties: 'string.Join(string, params object[])' and 'string.Join(string, System.Collections.Generic.IEnumerable)'</p>
  </blockquote>