Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » LinqFarm » CSharp   (RSS)

LINQ Farm: More on the LINQ Aggregate Operators

The LINQ aggregate operators allow you to perform simple math operations over the elements in a sequence. This post is designed to walk you through those operators, and give you an overview of how to use them. Table 1 shows a list of the 7 aggregate operators.
Posted by Charlie Calvert | 2 Comments
Filed under: , ,

LINQ Farm: More on Set Operators

This is a second post on the LINQ Set operators, the first being published while LINQ was still in beta. As mentioned in the previous post , there are four LINQ set operators: Union , Intersect , Distinct and Except . Like the other 49 LINQ operators,
Posted by Charlie Calvert | 2 Comments
Filed under: , ,

LINQ Farm: Lambdas

Lambdas are a simple technology with an intimidating name. They sound like they are going to be difficult to understand, but in practice prove to be relatively trivial. LINQ has an almost inordinate need for its users to declare a large number of small,
Posted by Charlie Calvert | 29 Comments
Filed under: , ,

LINQ Farm: Extension Methods and Scoping

There are a few scoping rules that you must keep in mind when using extensions methods. Problems with scoping and extensions methods are rare, but when you encounter them they are quite vexing. An instance method will always be called before an extension
Posted by Charlie Calvert | 9 Comments
Filed under: , ,

Charlie Speaking in Southern California

I will be presenting on C# and LINQ three times in Southern California next week at a series of user group meetings. The events will be held in the San Diego and the Los Angeles area . Lisa Feigenbaum will be flying down from Redmond with me, and she
Posted by Charlie Calvert | 5 Comments
Filed under: , , ,

LINQFarm: Understanding IEnumerable<T>, Part I

The IEnumerable<T> interface is a key part of LINQ to Objects and binds many of its different features together into a whole. This series of posts explains IEnumerable <T> and the role it plays in LINQ to Objects. If you hear people talking
Posted by Charlie Calvert | 7 Comments
Filed under: , ,

Charlie's Deck and Demos from his Essence of LINQ Talk

The sample programs and the slides from my Essence of LINQ talk are available on the Code Gallery LINQ Farm resource page. The LINQ Farm Resource Page The Downloads section of the page Direct Link to the Download
Posted by Charlie Calvert | 2 Comments
Filed under: , ,

LINQ Farm Seed: Using the Expression Tree Visualizer

The Visual Studio 2008 CSharp samples include several valuable tools that LINQ developers can use to help expedite the development process. One of the is the Expression Tree Visualizer. This tool works in both Visual Studio Express and the other versions
Posted by Charlie Calvert | 12 Comments
Filed under: , ,

LINQ Farm Seed 02: Aggregate Operator Part II

LINQ Farm Seeds are short posts designed to be read in a few minutes. In the previous seed we used the first overload of the C# 3.0 LINQ Aggregate operator to sum a list of numbers. In this post we'll work with a list of words. The code we will look at
Posted by Charlie Calvert | 10 Comments
Filed under: , ,

LINQ Farm Seed I: Aggregate Operator Part I

LINQ Farm Seeds are short posts designed to be read in a few minutes. The first seed showed how to list in alphabetical order all the operators used in LINQ to Objects. At the top of the list one found the Aggregate operator. The LINQ Aggregation operator
Posted by Charlie Calvert | 8 Comments
Filed under: , ,

Index of Posts Updated

When discussing the design of a technical web site, I usually advocate finding ways to improve the community's ability to rate content, comment on articles, tag articles and dynamically search for articles. I advocate creating a dynamic web site because
Posted by Charlie Calvert | 1 Comments
Filed under: ,

LINQ Farm Seed 0: Operators in LINQ to Objects

LINQ Farm Seeds are short posts, designed to be read in a few minutes. This one covers enumerating the operators used in LINQ to Objects. The source code for this project is available in the LINQ Farm on Code Gallery. The LINQ to Objects operators are
Posted by Charlie Calvert | 10 Comments
Filed under: , ,

Expression Tree Basics

Newcomers to LINQ often find expression trees difficult to grasp. In this post I hope to show that the subject is not quite as difficult as it might appear at first. Any reader who has an intermediate level understanding of LINQ should find the material
Posted by Charlie Calvert | 22 Comments
Filed under: , ,
 
Page view tracker