If you mean how to compress a wav in to an mp3 or similar, there is no support built in to C# for this. You need to buy a library to do mp3 compression, but you can use Microsoft libraries to compress to WMA, I believe.
Yes[
^], there's an article on Code Project how to do it.