Showing results for Category : Visual Studio

Sep 14, 2009
0
0

Generating Dynamic Methods with Expression Trees in Visual Studio 2010

Visual Studio Team
Visual Studio Team

Expression trees first appeared in Visual Studio 2008, where they were mainly used by LINQ providers. You can use expression trees to represent code in a tree-like format, where each node is an expression. You can also convert expression trees into compiled code and run it. This transformation enables dynamic modification of executable code as well...

C#Node.jsVisual Studio 2010
Mar 25, 2009
0
1

How to use LINQ methods to compare objects of custom types

Visual Studio Team
Visual Studio Team

LINQ provides a convenient syntax and many useful methods for operating with collections of objects. However, to be correctly processed by LINQ comparison methods such as Distinct or Intersect, a type must satisfy certain requirements.Let’s take a look at the Distinct method, which returns all distinct objects from a collection.List<int>...

C#.NET Framework