0

how to specify the road to files in C# and is it possible on the Sololearn platform?

/storage/emulated/0/Documents/Документы/Текст.text (example road to a text file)

20th Jan 2023, 9:54 AM
Nikolai
2 odpowiedzi
+ 3
A program that is compiled and run on Sololearn, cannot access any files on your local device.
20th Jan 2023, 8:09 PM
Tibor Santa
Tibor Santa - avatar
+ 1
Nikolai, do you mean the file path / location? As that just looks like a path. Depends on your implementation but you can use System.AppContext.BaseDirectory
20th Jan 2023, 3:03 PM
DavX
DavX - avatar