Tutorial :parse a path in c#



Question:

i have this path

"Web References\myWebService\myWebService.wsdl"

how do i get the path up to "Web References\myWebService\"


Solution:1

Use Path.GetDirectoryName


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »