title: Generic BitConverter.GetBytes possible in .NET?
body: <p>Is it possible to create a method like <strong>BitConverter.GetBytes()</strong> that accepts as input also a <strong>parameter</strong> of type <strong>Object</strong>, without using Marshaling as done <a href="https://stackoverflow.com/questions/1455581/generic-bitconverter-like-method">here</a>?</p>
  
  <p>Or the only solution, if a type Object is given as input, is to implement a <strong>case</strong> on all available .NET <strong>value types</strong>?</p>