title: How do I provide custom cast support for my class?
body: <p>How do I provide support for casting my class to other types? For example, if I have my own implementation of managing a <code>byte[]</code>, and I want to let people cast my class to a <code>byte[]</code>, which will just return the private member, how would I do this?</p>
  
  <p>Is it common practice to let them also cast this to a string, or should I just override <code>ToString()</code> (or both)?</p>