title: How should I handle windows/Linux paths in c#
body: <p>My intention is for my application to run on windows and linux.<br>
  The application will be making use of a certain directory structure e.g.  </p>
  
  <pre><code>appdir/  
        /images
        /sounds
  </code></pre>
  
  <p>What would be a good way of handling the differences in file(path) naming differences between windows and linux? I don't want to code variables for each platform. e.g. pseudo code</p>
  
  <pre><code>if #Win32
    string pathVar = ':c\somepath\somefile.ext';
  else 
    string pathVar = '/somepath/somefile.ext';
  </code></pre>