Browse by Tags

All Tags » LINQ » Microsoft (RSS)

LINQ With C# Book

Luís just broke the news on our LINQ with C# book. I was honored with the invitation from Luís to write this book with him for FCA , for which he has already published a few books [ ^ ] [ ^ ] [ ^ ] before. This will be an entry level book in Portuguese...
Posted by Paulo Morgado | 1 comment(s)
Filed under: , , , , ,

More On Another Way For Using The “using” Keyword

In the past I presented another possible use for the using keyword: as hints on LINQ . I’ve been giving some thought about this lately and refined my proposal. var q = from person in personCollection using MyEnumerableExtensions group person by person...
Posted by Paulo Morgado | 2 comment(s)
Filed under: , , , , ,

C# And Visual Basic Generate Different Expression Trees

(This was pointed out to me by Frans Bouma and explained by Jon Skeet ) Imagine you have this set of classes: public class A { public virtual string P { get { return "A" ; } } } public class B : A { } public class C : B { public override string...
Posted by Paulo Morgado | with no comments

Build Your Own LINQ Provider

Mehfuz has been building a toolkit for creating LINQ providers and it's available at CodePlex : LINQExtender He has even built a LINQ provider for flickr with it: LINQ.Flickr
Posted by Paulo Morgado | with no comments

TypeMock: How to Make Reflective Mocks More Natural

Like I said before , this as been on the back of my mind for a while. A while back I introduced a way to get the MethodInfo of a method in a strongly typed way using LINQ , and that's how I'm going to make Reflective Mocks more Natural . Well...

Free e-books on the Visual Studio 2008 Learning Portal

Microsoft is offering free e-books (or, at least some chapters) in the Visual Studio 2008 Learning Portal .

Visual Studio 2008 and .NET Framework 3.5 shipped!

Visual Studio 2008 and .NET Framework 3.5 has finally shipped. MSDN subscribers can download the final version of Visual Studio 2008 from MSDN Subscription Downloads , but anyone can get a trial version or an Express Edition . The .NET Framework 3.5 contains...

Getting MethodInfo using LINQ

At the last MVP Global Summit , Mads showed me and Rich a way to get the MethodInfo of a method in a strongly typed way using LINQ . Here is how you can do it: public static class TypeHelper { public delegate void Method (); public delegate void Method...
Posted by Paulo Morgado | with no comments