Contents tagged with .NET3.5
-
Extension Methods And Type Inference In Action
I make extensive use of extension methods, either to make classes small and focused or to improve readability.
-
Hydrating Objects With Expression Trees - Part III
To finalize this series on object hydration, I’ll show some performance comparisons between the different methods of hydrating objects.
-
Hydrating Objects With Expression Trees - Part II
-
Mastering Expression Trees With .NET Reflector
Following my last post, I received lots of enquiries about how got to master the creation of expression trees.
-
Dumping Objects Using Expression Trees
-
LINQ: Enhancing Distinct With The SelectorEqualityComparer
On my last post, I introduced the PredicateEqualityComparer and a Distinct extension method that receives a predicate to internally create a PredicateEqualityComparer to filter elements.
-
LINQ: Enhancing Distinct With The PredicateEqualityComparer
Today I was writing a LINQ query and I needed to select distinct values based on a comparison criteria.
-
LINQ: Single vs. SingleOrDefault
Like other LINQ API methods that extract a scalar value from a sequence, Single has a companion SingleOrDefault.
-
LINQ: Single vs. First
I’ve witnessed and been involved in several discussions around the correctness or usefulness of the Single method in the LINQ API.
-
Web Site Globalization With ASP.NET Routing
For those who don’t know, I have this web site http://PauloMorgado.NET/ that I use both as a web presence besides my blogs and a playfield.