title: How to know what obsolete methods/API's are replaced with
body: <p>I am trying to learn about sockets, the first result on Google provides some source code about resolving an IP address. When typing this code into VS2010, I see the message that it is depreciated.</p>
  
  <p>I then visit the MSDN website to find out more about it, and it is indeed depreciated. </p>
  
  <p><a href="http://msdn.microsoft.com/en-us/library/system.net.dns.resolve%28v=vs.110%29.aspx" rel="nofollow noreferrer">http://msdn.microsoft.com/en-us/library/system.net.dns.resolve%28v=vs.110%29.aspx</a></p>
  
  <p>The page isn't helpful in that it doesn't tell me if a different approach is suggested (ie, new or alternate namespace/methods etc).</p>
  
  <p>Does any one know what the alternative is?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Intellisense is not telling me:</p>
  
  <p><img src="https://i.stack.imgur.com/GzOLJ.png" alt="enter image description here"></p>