title: C# Path Ellipsis without Win32 API call
body: <p>I have a long path I'd like to shorten for displaying on a form using the ellipsis character(s?).</p>
  
  <p>I know there is the <a href="http://www.pinvoke.net/default.aspx/shlwapi.pathcompactpathex" rel="nofollow noreferrer" title="PathCompactPathEx"><code>PathCompactPathEx</code></a> Win32 API call, but I know there is a built-in .NET equivalent. I have used it previously, but cannot find it any more. Any hints, please?</p>