jgomezal
❔ Calling files Path inside the project (MAC and Windows"
Hello there.
It's a totally beginner question, for understanding how the compilation works. I have this folder structure:
project
|- Folder: Classes
|- Folder: Exports (here I'm downloading the API result)
|- Folder: MasterData (here there is a .csv file)
- File: project.cs
I know in MAC the files structure is "./MasterData/file.csv", and that Microsoft structure is ".\MasterData\file.csv".
Questions:
1. Once I compile the console application, will it recognize the file structure for whatever OS?
2. Must I include both path structures in the code with an if statement that confirms if the path exist?
Thanks a lot!
16 replies
✅ [RESOLVED] Newtonsoft :: wrong serialization format
Dear all,
I'm requesting your help, because I don't understand what I'm doing wrong.
`
I need this data with this format:
But I'm getting it like this:
`
As you see, in the "operaciones" array, I'm receiving an escape for a backslash and I don't need it. Do you know how can I solve it?
Thanks in advance,
Migue
19 replies