Snippet

Code Snippet or Sample
TitleModifiedSummary
C# Voodoo - default(Type)Wed, 15 Apr 2009

Q: How to get the default value of a type? return default(myObj.GetType()) does not work.

A: Forums Say...

My Solution

...snip...snip..
String to TrippleDESFri, 15 May 2009

A simple C# code snippet to encode and decode a string using TripleDES.

...snip...snip..
A digression into GZIP, 7ZIP in managed C#Wed, 13 May 2009

Building my a previous article where I encrypt/decrypt a string, I wanted to go further and ZIP it. So started a rather long and painful wander into the world in compression.

Knowing the GZIP is included in the .NET framework I naturally started there.

...snip...snip..
Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way. © Copyright 2009 -- Guy Langston