How can I get the base (last part) of a URL?
<p>I have URL's like the following:</p>

<pre><code>www.abc.def.xxx
www.abc.xxx
www.abc.def.ghi.yy
</code></pre>

<p>I need to find some way of getting the base "xxx" or "yy" when the URL is different. Can anyone think of a way I can do this with c#</p>
