forrestcupp
Programmer
- Jul 22, 2006
- 25
I know this is kind of a crazy question, but in Python when I make a string with a path to a file, I can use os.sep which means that if it is being used in Windows it's the "\" character and in Linux/unix it's the "/" character. Is there anything like this in c#?
The reason I'm asking is because .NET is being used in Linux now, and it would make cross-platform stuff a little easier.
The reason I'm asking is because .NET is being used in Linux now, and it would make cross-platform stuff a little easier.