|
|
Browse by Tags
All Tags » LINQ (RSS)
Showing page 1 of 12 (114 total posts)
-
I’m constantly amazed by the insightfulness of ReSharper’s suggested refactorings (ReSharper is a Visual Studio Addin from JetBrains I use with C#). Today, I’ve been working on a threading problem...
This site is a resource for asp.net web programming. It has examples by Peter Kellner of techniques for high performance programming
-
Remember good developers don't just write source code, they also READ it. You don't just become a great poet by writing lots of poems. Read and absorb as well. Do check out the Source Code category of my blog here, there's (as of today) 15 pages of posts on Source Code you can check out.
Recently my friend Jonathan Carter (OData Dude, my name for ...
-
In this post, we’ll take a straight forward procedure based set of code and convert it to LINQ using a ReSharper from JetBrains suggestion. The initial code is as follows: int...
This site is a resource for asp.net web programming. It has examples by Peter Kellner of techniques for high performance programming
-
This is an article line items 1111 2222 3333 my pdf This is the text This is the end.
This site is a resource for asp.net web programming. It has examples by Peter Kellner of techniques for high performance programming
-
I’m a big fan of LINQ and use it wherever I can to minimize code and make applications easier to maintain overall. I was going through a code file today refactoring it based on suggestions provided by Resharper and came across the following method:
private List<string> FilterTokens(List<string> tokens)
{
var cleanedTokens = ...
-
You can learn a lot by reading other people's source code. That's the idea behind this series, "The Weekly Source Code." You can certainly become a better programmer by writing code but I think good writers become better by reading as much as they can.
I was poking around in the WebFormsMVP project's code and noticed an interesting ...
-
Here is a shorthand way for converting a list of strings defined as follows: List<string> strings = new List<string>
[...]
This site is a resource for asp.net web programming. It has examples by Peter Kellner of techniques for high performance programming
-
You can join two tables in Linq2Sql by using an anonymous type to specify the join. var r =
from o in db.Orders
join p in db.Products on o.ProductId equals p.ProductId
join pu in db.ProductUsers on new { p.ProductId, o.UserId } equals new { pu.ProductId, ...
-
If you have an IEnumerable<T> collection of some objects T and you need to get a particular item out of that collection, you cannot use the standard indexing that you would normally use with brackets ([index]). If you try you will get an error such as: Cannot apply indexing with [] to an expression of type ...
-
Title Of Each Article
Video Included With Each Post
Part 1
Introduction To RIA Services In Silverlight (This Article)
7 Minutes
Part 2
Basic RIA Services And DataGrid With VS 2010 Tooling
14...
This site is a resource for asp.net web programming. It has examples by Peter Kellner of techniques for high performance programming
1 ...
|
|
|