If you create a new WPF application project with VisualStudio, you get some basics for free. Well… almost for free. The price you pay is that you might not know what’s going on behind the scenes.
Continue reading The WPF Application Class
executor
I like XML. I like it a lot. For most smaller applications a database – even SQLite and the likes – is complete overkill. Still, you have to save your application data somewhere. Enter XML.
I also like to access my application data in a typesafe manner and I don’t like to reinvent the wheel (or in this case, the XML serialization). Enter System.Xml.Serialization. Continue reading System.Xml.Serialization
No, this is not a post about the current state of the worlds financial industries, instead it is about one of the lesser known C# features called “yield” that can be used to create dynamic collections. It is one of the more disputed features of C# because it is “not really object oriented” and more of a hack than anything else. While this is most likely true, I find it hard to argue its usability. See for yourself.
Continue reading Yield and Return