title: How can I use C# to retrieve Java data from a socket?
body: <p>I want to send <code>BigInteger</code> data in socket and my friend wants to retrieve the data.<br>
  I am using Java, but my friend uses C#.</p>
  
  <pre><code>String str = "Hello";
  BigInteger big = new BigInteger(str.getBytes);
  byteToBeSent[] = big.toByteArray();
  </code></pre>
  
  <p>I am sending this byte array (<code>byteToBeSent[]</code>) through socket. And my friend wants to retrieve "Hello".</p>
  
  <p>How is this possible?</p>