CSharpFeeds - All your C# feeds in one place.

Friday, May 09, 2008

Computers are dumb

by Eric Lippert via Fabulous Adventures In Coding on 5/9/2008 3:20:00 PM

  A few short takes today, from questions I've received recently about LINQ in C# 3.0. The first question was "in the following code, does it really check every single non-negative integer, or does it use the knowledge that once you're beyond ten, you can stop iterating?" var smallNumbers = Enumerable.Range(0, int.MaxValue).Where(n => n < 10);foreach (int i in smallNumbers)    Console.WriteLine(i);The former. You asked LINQ to Objects to apply a predicate to a sequence ...

[ read more ]

LINQ to SQL Instantiation

by Brian Mains via ASPAlliance.com - Articles, reviews, and samples for .NET Developers on 5/9/2008 12:00:00 AM

This article discusses how and when the objects within LINQ to SQL are created and instantiated, and how it maintains a list of the changes that need submitted to the database. It also discusses how this can be managed and some of the intricacies in LINQ with the help of source code. ...

[ read more ]

Subscribe

New Feed

Product Spotlight

Recently Updated Sources

Legal Note

The content of the postings is owned by the respective author. CSharpFeeds is not responsible for the contents of the postings. This site is automatically generated and cannot be reviewed for abusive content. If you find abusive content on CSharpFeeds, please contact us. Designated trademarks and brands are the property of their respective owners. All rights reserved.

Advertise with us