-
Recent Posts
Archives
Categories
Tag Archives: Extension Methods
Cartesian products in LINQ (fluent syntax)
Have you ever tried to combines sequences in order to build Cartesian products in LINQ ? This is really easily achieved using the query expressions syntax, writing for instance : var ints = Enumerable.Range(1, 4); var longs = Enumerable.Range(1, 3).Select(i … Continue reading
Extension Methods and inheritance – part 2
Things to know before using LINQ Providers (LINQ to something) or PLINQ (Parallel LINQ to objects) Today I wanted to continue my explanations on extensions methods and why one should know how they work before trying to use LINQ providers … Continue reading
Extension Methods and inheritance
Remember that extension methods are static methods ! Since their introduction in the Framework, extension methods have been a very simple mean to add functionality into class or on top of interfaces. Without extension methods, there would be no LINQ-style … Continue reading