title: C# Compress a string of characters
body: <p>Say 1 character is 1Byte, so i have 10 characters, and that is 10Bytes.</p>
  
  <p>I have a sentence which contains of 20 characters and i need to upload this sentence to a server. and the limit is only 10 Bytes, how do i compress this sentence which is 20Bytes to 10Bytes.</p>
  
  <p>Is there anyway i can do this via C# ? </p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I have a 170 character sentence, i need to compress it in a way that it seems to be like 130characters. i am uploading this sentence to a 3rd party server, so i dont have any control over the server. Can this be done ?</p>