title: Should I manually dispose the socket after closing it?
body: <p>Should I still call <code>Dispose()</code> on my socket <strong>after</strong> closing it?</p>
  
  <p>For example:</p>
  
  <pre><code>mySocket.Shutdown(SocketShutdown.Both);
  mySocket.Close();
  mySocket.Dispose(); // Redundant?
  </code></pre>
  
  <p>I was wondering because <a href="http://msdn.microsoft.com/en-us/library/system.net.sockets.socket.close%28v=vs.110%29.aspx" rel="noreferrer">the MSDN documentation</a> says the following:</p>
  
  <blockquote>
    <p>Closes the Socket connection and releases all associated resources.</p>
  </blockquote>