title: How would one use System.Uri .NET class to check if the URL is valid?
body: <p>In one of the <a href="https://stackoverflow.com/questions/161738/what-is-the-best-regular-expression-to-check-if-a-string-is-a-valid-url">previous posts</a> it was suggested to use System.Uri to check if the URL is valid.  How does one do that? </p>