Welcome to DevAuthority.Com Sign in | Join | Help

February 2007 - Posts

Context is often a problem when unit testing code, for example if your code utilizes HttpContext.Current this can be a real problem. There are several ways to get around this problem, I'll try and explain the approach we're currently taking, hopefully Read More
I saw my friend Josh over at www.thejoyofcode.com had a couple of great tips on how to shorten your code a bit, but is shorter always better? First let me just say I think the examples Josh posted are fine, they don't take away from the readability of Read More
I've come across this a couple of times so I felt It was probably a good idea to post this technique here so I can remember it for the next time and who knows, maybe someone else will get some use out of it. Basically I have a generic list and I want Read More