Posts Tagged LINQ

The Way of the Whiteboard, Modern Hardware, Writing DSLs with LINQ and Component Relationships

The Way of the Whiteboard: Persuading with Pictures: A enlightening and wonderful talk about explaining stuff with pictures. The advices in this talk do not only apply to every area. Watch it. There’s actually a predecessor talk here, with very similar content. His book is on my ‘to-buy’-list. =) In the presentation ‘Not Your Father’s [...]

Read complete post

, , , ,

No Comments

LINQ: cast-catch

In this post I’ll explain a little catch in LINQ, which may some beginners fall into: What’s the difference between those two queries? IEnumerable<Person> listOfEntities = LoadData(); // First version of the query var resultV1 = from p in listOfEntities where p.Name.Contains("a") select p; // Second version of the query var resultV2 = from Person [...]

Read complete post

, ,

2 Comments