I would like to know how to determine whether string is valid file path.
The file path may or may not exist.
The static class System.IO.Path can do what you're asking for.