how to extract the required value from the url in C#
===

I need to extract the value from the current url. 
For example if my url is 

    http://stackoverflow.com/questions/ask

I need the result stored in an array splitted with respect to "/".

my array should contain [questions,ask]
