title: Determine a string's encoding in C#
body: <p>Is there any way to determine a string's encoding in C#?</p>
  
  <p>Say, I have a filename string, but I don't know if it is encoded in <strike>Unicode</strike> UTF-16 or the system-default encoding, how do I find out?</p>