How to use LINQ orderby clause to sort results in VB.NET

This LINQ tutorial explains how to use LINQ orderby clause to sort results in VB.NET.

Sometimes Web developers have to sort the returned data. The LINQ orderby clause sorts the elements in the returned sequence according to the default comparer for the type being sorted. For example, the following query can be extended to sort the [...]

How to use LINQ orderby clause to sort results in C#

This LINQ tutorial explains how to use LINQ orderby clause to sort results in C#.

Sometimes Web developers have to sort the returned data. The LINQ orderby clause sorts the elements in the returned sequence according to the default comparer for the type being sorted. For example, the following query can be extended to sort the [...]

How to use LINQ expression inline in VB.NET

This LINQ tutorial explains how to use LINQ expression inline in VB.NET.

 

Web developers can create and call a method inline based on LINQ expression. For example they can create a function named TestClient() that examines a client an return true or false based on whether they want to include it in the results:

 

Private Function TestClient(ByVal client [...]

How to use LINQ expression inline in C#

This LINQ tutorial explains how to use LINQ expression inline in C#.

 

Web developers can create and call a method inline based on LINQ expression. For example they can create a function named TestClient() that examines a client an return true or false based on whether they want to include it in the results:

 

private bool TestClient(Client client)

{

How to use LINQ where clause to filter results in VB.NET

This LINQ tutorial explains how to use LINQ where clause to filter results in VB.NET.

 

Web developer can modify the where clause in LINQ statement to filter the results and to include only those that match a specific condition. The next code shows how to find clients who have a last name that starts with a specific [...]

How to use LINQ where clause to filter results in C#

This LINQ tutorial explains how to use LINQ where clause to filter results in C#.

 

Web developer can modify the where clause in LINQ statement to filter the results and to include only those that match a specific condition. The next code shows how to find clients who have a last name that starts with a specific [...]

How to use LINQ expression to do projection in VB.NET

This LINQ tutorial explains how to use LINQ expression to do projection in VB.NET.

Web developer can use approach described in the article How to use LINQ expression to get a subset of data in VB.NET to define a new class that wraps just the information he/she wants to return. For example, if he/she wants to get [...]

How to use LINQ expression to do projection in C#

This LINQ tutorial explains how to use LINQ expression to do projection in C#.

Web developer can use approach described in the article How to use LINQ expression to get a subset of data in C# to define a new class that wraps just the information he/she wants to return. For example, if he/she wants to get [...]

How to use LINQ expression to get a subset of data in VB.NET

This LINQ tutorial explains how to use LINQ expression to get a subset of data in VB.NET.

In the article How LINQ expression is composed LINQ select clause was described. Web developer can change it to get a subset of data. For example, he/she could pull out a list of first name strings like this:

 

Dim matches = [...]

How to use LINQ expression to get a subset of data in C#

This LINQ tutorial explains how to use LINQ expression to get a subset of data in C#.

In the article How LINQ expression is composed LINQ select clause was described. Web developer can change it to get a subset of data. For example, he/she could pull out a list of first name strings like this:

var matches = [...]