I have this code
string path = Path.GetDirectoryName(Assembly.GetExecutingAssembly().GetName().CodeBase);
This yields a string such as
"file://C://Foo//bin"
What I want is
"C://Foo//bin"
How do I get that without removing "file://"
from the beginning manually?