title: File details from a string in C#
body: <p>I have a string in C#</p>
  
  <pre><code>String file="\\mserver-80\docs\somedoc.doc"
  </code></pre>
  
  <p>Now How do I get fileInfo from the above sting.
  What I mean is,
  I want to declare something like </p>
  
  <pre><code>FileInfo fInfo = new FileInfo(file);
  fileExtn = fInfo.Extension;
  </code></pre>