I'm getting married! - More Details

Followup : Generic Serialization

Thursday, June 01, 2006 11:07 PM

A couple of weeks ago, I posted about using C# generics to be able to serialize/deserialize objects. That solution was based off an article written over at The Joy of Code, about passing generic parameters. This implementation replaced my original one, which involved passing the type of the object to be serialized as a parameter. Though the new version is much better, neither, in my opinion, are perfect.

The other day, Kim Major posted a wonderful article over on Code Project & on her blog which makes the the base class  generic, instead of the functions themselves. In this manor, we can have a truly generic & elegant implementation! Read more:

Serializing with .NET 2.0 Generics (Code Project)

Serializing with .NET 2.0 Generics (Kim's Blog)

Comments



Post a comment

   
 
  
  

    

All content © Dusty Davidson