Hi..........I am trying to create a simple text file compressing tool in c sharp? Can anyone give me the code for a simple algorithm implemented in c sharp? I have already used MSDN code using System.IO.Compression but i need something else. It shud be simple and compress a text file.....Can anyone help me plz? I will be very grateful

if

tutor failed me coz he wants me to implement my own algorithm.

then have a go.
If you need specific help with a problem (after showing some effort) then ask.

Microsoft's word just uses ZIP. Its an XML plain text format that they then zip and save with a .doc extention. Then when the load it in it unzips it in memory and parses the xml. same with open office i do believe.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.