I have been a big fan of ExpandoObject ever since it was introduced with .net 4.0, and I have been using the Expando Object object ever since, but I always felt that it was not enough, ExpandoObject was fun and all but it was just not enough, and me being really lazy remember coying and [...]
I think Every one has one time or the other tried to find a control by looping over and find the required control, but we can use Linq to do the same thing. public static class PageExtensions { public static IEnumerable<control> All(this ControlCollection controls) { foreach (Control control in controls) { foreach (Control grandChild in [...]
If have used a class as datasource , you would know that to provide proper validation and you would nees to implement a IEditableObject, but if you sont its really simple all you have to do is provide 3 functions , The code Mentioned below is a simple example and I think you can take [...]
If you ever wanted to store an in memory obejct, i think serialization is the best possible method to do so, so is when you want to transport an object, i was using this for a long time now, now i have modified it a bit with generics using System.Collections.Generic; using System.Text; using System.Xml; using [...]
Have you obeserved the new taskdialog in vista, (May I am the last one to write about this), but sure looks great, and it is easy to implement, thre are lots of versions out there but like this the most, so here is the code using System; using System.ComponentModel; using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Imaging; [...]