Using C# anonymous types to assert complex results in your unit tests

Does this sounds familiar to you: You come to work early(ish) in the morning - ready to apply a new technology you've just learnt about - just to find out that you can't. Your frustration grows as you understand that in order to use this "new and shiny" some adjustments must be made and what … Continue reading Using C# anonymous types to assert complex results in your unit tests

Using OzCode’s Custom Expression to show object’s xml serialization

I’ve been working with OzCode for some time now, and every now and then I find a cool capability I didn’t know it had.Today I wanted to investigate (read: debug) the way several objects were xml-serialized for a demo I’m preparing and for that I created the following method:static class Xml{ public static string SerializeObject(this … Continue reading Using OzCode’s Custom Expression to show object’s xml serialization