Emulate LINQ for .NET 2.0