What’s the .net namespace constant thingy for the forward slash "/"
So instead of:
somePath + "/" + someFile
I can do:
somePath + .net.namespace.forwardslash + someFile
Not really much difference but maybe neater?
What’s the .net namespace constant thingy for the forward slash "/"
So instead of:
somePath + "/" + someFile
I can do:
somePath + .net.namespace.forwardslash + someFile
Not really much difference but maybe neater?
Just use a forward slash if that's what you need, but if you're trying to combine a file name and a path, just use System.IO.Path.Combine().
System.IO.Path.DirectorySeparatorChar is what you want i think.
BTW, a saner way to do it is to use System.IO.Path.Combine(somePath,someFile).