Pages
-
Recent Posts
- Which Would You Rather Have: The Planet, Or A Patent?
- How Copyright Would Make The ‘Singularity’ Infringement If It Ever Arrived
- Network Analysis Reveals Apparent (And Legally Questionable) Attack On Torrent Networks
- Court Dumps Patent Lawsuit Against Tons Of Online Retailers
- Java: Jury Says Google Did Not Infringe / Comprehensive JVM Options List
Archives
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- December 2008
- November 2008
- October 2008
Meta
Category Archives: LINQ
PHPHOST BLOG
Web Hosting Related Articles You May Need
List<T>.ConvertAll<>() with Lambda Expression
List<T> has many useful methods for dealing with sequences and collections. One such method is the ConvertAll<>() method. All those who have used the List<T>.ConvertAll<>() are aware how useful this method is to convert the curr… Continue reading
Posted in C#, LINQ, Syndicated
Leave a comment
List<T>.ConvertAll<>() with Lambda Expression
List<T> has many useful methods for dealing with sequences and collections. One such method is the ConvertAll<>() method. All those who have used the List<T>.ConvertAll<>() are aware how useful this method is to convert the curr… Continue reading
Posted in C#, LINQ, Syndicated
Leave a comment
LINQ: Generate a Cartesian Product
A Cartesian product by definition is a direct product of two sets. Take the following example. Assume you have these two lists:
{A, B, C} and {1, 2, 3}
A Cartesian product of the two lists would be the following:
{(A,1), (A,2), (A,3), (B,1), (B,2), … Continue reading
Posted in LINQ, Syndicated
Leave a comment
LINQ: Generate a Cartesian Product
A Cartesian product by definition is a direct product of two sets. Take the following example. Assume you have these two lists:
{A, B, C} and {1, 2, 3}
A Cartesian product of the two lists would be the following:
{(A,1), (A,2), (A,3), (B,1), (B,2), … Continue reading
Posted in LINQ, Syndicated
Leave a comment
LINQ: List Classes implementing the IEnumerable Interface
A DevCurry.com reader ‘Richard’ mailed me with a question. He wanted to know an easy way to find all the types that implement the IEnumerable interface, or for that matter, any interface. Here’s a piece of LINQ code that lists all the types imple… Continue reading
Posted in LINQ, Syndicated
Leave a comment
LINQ: List Classes implementing the IEnumerable Interface
A DevCurry.com reader ‘Richard’ mailed me with a question. He wanted to know an easy way to find all the types that implement the IEnumerable interface, or for that matter, any interface. Here’s a piece of LINQ code that lists all the types imple… Continue reading
Posted in LINQ, Syndicated
Leave a comment
Select Last N elements using LINQ to XML
Here’s a simple example of selecting the last ‘N’ elements of a XML document using LINQ to XMLConsider the following XML In order to select the last two elements, use the IEnumerable<XElement>.Reverse() which inverts the order of the elemen… Continue reading
Posted in LINQ, Syndicated
Leave a comment
Select Last N elements using LINQ to XML
Here’s a simple example of selecting the last ‘N’ elements of a XML document using LINQ to XMLConsider the following XML In order to select the last two elements, use the IEnumerable<XElement>.Reverse() which inverts the order of the elemen… Continue reading
Posted in LINQ, Syndicated
Leave a comment
Find Uppercase words in a String using C#
I am helping a friend to build an Editor API in C#. One of the functionalities in the Editor is to filter uppercase words in a string and highlight them. Here’s a sample of how uppercase words can be filtered in a stringstatic void Main(string[] args… Continue reading
Posted in LINQ, Syndicated
Leave a comment
Find Uppercase words in a String using C#
I am helping a friend to build an Editor API in C#. One of the functionalities in the Editor is to filter uppercase words in a string and highlight them. Here’s a sample of how uppercase words can be filtered in a stringstatic void Main(string[] args… Continue reading
Posted in LINQ, Syndicated
Leave a comment
LATEST NEWS
