Archive

Archive for May, 2010

You can’t have too much of a good thing

This is from one of projects I’m working on. I think who wrote this wanted to be sure that it will return the first one, but it seems too insistent to me 😛

var first = Dao.FindSomething()
               .Take(1)
               .OrderAscBy(x => x.PostDate)
               .FirstOrDefault();

Note: I’ve changed the method names and stuff so nobody gets hurt 😛

Advertisements
Categories: C# Tags: ,

Happy Town

May 1, 2010 1 comment

I’ve just saw the first episode of Happy Town. It was actually good! And I liked the tributes to Twin Peaks, also 🙂
Now I have another show to follow besides House MD.

Categories: About nothing Tags: