Archive for April, 2010

Extension Methods

April 12, 2010 Leave a comment

Have you ever been working with an object in managed code and thought “Boy, it would be nice if this object did this…”. Well, With extension methods, you can sort of append functionality to an existing type without having to use inheritance to create your own object. Now, there are a few caveats to this functionality that you should be aware of.

1. Extension methods must be static.
2. They must be methods. No properties here.

Read more…

Categories: Development, Tips Tags: , , ,

Windows 7/Server 2008 Comes with Cheats

April 10, 2010 3 comments

All techies love easter eggs, and Windows 7 does not disappoint. Godmode is a feature that grants you a shortcut to a plethora of administrative features for Windows 7 or Server 2008.  Whether or not this list is useful is a debate for another day, but it is pretty cool, nonetheless.
Read more…