title: Convert object to byte array in c#
body: <p>I want to convert object value to byte array in c#.</p>
  
  <p>EX:</p>
  
  <pre><code> step 1. Input : 2200
   step 2. After converting Byte : 0898
   step 3. take first byte(08)
  
   Output: 08
  </code></pre>
  
  <p>thanks</p>