I am working on a media player in C# but when I want to make my test I have a problem.
I have to create a new object song with the following path:
@"C:UsersJesus AntonioDesktopJukeboxV2.0JukeboxV2.0Datosich will.mp3"
It works but when I change the computer I have to rewrite the entire path,
My project is called JukeboxV2.0
In java I remember you can just write the path for example
@"JukeboxV2.0JukeboxV2.0Datosich will.mp3"
This will save a lot of time because I can take my project to different computers and it works, but here I don't known how to do that, anyone know?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…